Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 161.7 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.03/3.03, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.13e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003092/0.003123, allocations: 1.508 MB / 0.8123 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003416/0.003465, allocations: 116.2 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.003495, allocations: 0.6875 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.681e-05/0.003551, allocations: 3.938 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-05/0.003608, allocations: 8.828 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.003837, allocations: 28.56 kB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.003951, allocations: 39.86 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.922e-05/0.00404, allocations: 13.45 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.889e-05/0.004119, allocations: 23.92 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.004179, allocations: 23.95 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.004204, allocations: 4 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.004281, allocations: 17.52 kB / 0.8126 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.004332, allocations: 11.94 kB / 0.8126 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.004366, allocations: 15.98 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.004531, allocations: 63.78 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004534, allocations: 0.5625 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004534, allocations: 1.156 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.004539, allocations: 0 / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006284/0.005167, allocations: 392.9 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.005209, allocations: 12.03 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.00526, allocations: 8.891 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.005407, allocations: 125.6 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.005419, allocations: 384 / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.005433, allocations: 4.375 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.00564, allocations: 58.86 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005648, allocations: 1.25 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.005657, allocations: 384 / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.005661, allocations: 384 / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.00586, allocations: 44.66 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.006284, allocations: 280.5 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.006464, allocations: 60.31 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.006571, allocations: 27.77 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.006775, allocations: 33.81 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.006811, allocations: 33.39 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.006812, allocations: 1.344 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004253/0.007237, allocations: 110 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.007282, allocations: 51.41 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.007449, allocations: 186.5 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.007471, allocations: 27.02 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.007576, allocations: 146.8 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.007598, allocations: 11.95 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.007653, allocations: 19.38 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005143/0.008168, allocations: 0.4929 MB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.764e-05/0.008265, allocations: 20.58 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.008353, allocations: 25.98 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.008527, allocations: 47.66 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008529, allocations: 0 / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002485/0.008777, allocations: 82.08 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.008794, allocations: 11.16 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.008798, allocations: 0 / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.008809, allocations: 1.406 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.618e-05/0.008906, allocations: 12 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.00891, allocations: 0 / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.008967, allocations: 8.797 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.008974, allocations: 4 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.009091, allocations: 153.5 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.009126, allocations: 7.953 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.009403, allocations: 98.86 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009406, allocations: 0 / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.009409, allocations: 0.9688 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.009412, allocations: 0 / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.009612, allocations: 132.6 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009613, allocations: 2.312 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.00969, allocations: 15.98 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.009692, allocations: 0 / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.009704, allocations: 4 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.009708, allocations: 3.938 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009709, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.01005, allocations: 231.7 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.01006, allocations: 7.938 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.01007, allocations: 0 / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.01016, allocations: 11.88 kB / 0.8155 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.01021, allocations: 15.95 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.01022, allocations: 4 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.795e-05/0.01031, allocations: 141.3 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01031, allocations: 0 / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002365/0.01055, allocations: 8.781 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001651/0.01072, allocations: 107.7 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.01096, allocations: 48.72 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.01097, allocations: 5 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.01109, allocations: 35.67 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.01134, allocations: 16.39 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.01173, allocations: 152 kB / 0.816 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.313e-05/0.01182, allocations: 75.19 kB / 0.8161 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.816e-05/0.01185, allocations: 0.5 kB / 0.8161 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.01189, allocations: 13.34 kB / 0.8161 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.01189, allocations: 0 / 0.8161 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.003974/0.01586, allocations: 0.8498 MB / 0.817 GB, free: 11.52 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.121697818976827]