Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006072/0.006072, allocations: 99.97 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 199.8 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 68.12 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8612, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002554/0.8638, allocations: 1.491 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003214/0.8641, allocations: 111.7 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.8641, allocations: 0 / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.908e-05/0.8642, allocations: 3.938 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.8643, allocations: 7.875 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.8645, allocations: 31.95 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.639e-05/0.8646, allocations: 51.78 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.8647, allocations: 4 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.8648, allocations: 19.98 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/0.8649, allocations: 23.86 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.8649, allocations: 4 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.147e-05/0.865, allocations: 23.97 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.865, allocations: 8 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.8651, allocations: 23.86 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.8652, allocations: 59.8 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8652, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8652, allocations: 4 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.8652, allocations: 0 / 1.21 GB, free: 11.73 MB / 0.9356 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.0005166/0.8657, allocations: 373 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.8658, allocations: 12.03 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.8658, allocations: 8.844 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.866, allocations: 176.2 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.866, allocations: 4.375 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.866, allocations: 384 / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.8663, allocations: 78.16 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.8663, allocations: 8.125 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.8663, allocations: 3.938 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8663, allocations: 0 / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.8666, allocations: 71.92 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.867, allocations: 288.9 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.8672, allocations: 74.41 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.8673, allocations: 44.91 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.8676, allocations: 113 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.8676, allocations: 38.56 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.8676, allocations: 0 / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005141/0.8682, allocations: 137.6 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.8682, allocations: 55.41 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.8683, allocations: 137.1 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.8683, allocations: 25.7 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.8684, allocations: 95.98 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.8684, allocations: 7.906 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.8685, allocations: 17.7 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.8686, allocations: 314.8 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.8687, allocations: 43.95 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.8688, allocations: 31.97 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.8691, allocations: 80.77 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.8691, allocations: 3.938 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002927/0.8694, allocations: 113.5 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.8694, allocations: 4 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8694, allocations: 0 / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.8695, allocations: 0 / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.8696, allocations: 23.91 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8696, allocations: 0 / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.8697, allocations: 15.92 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.8697, allocations: 4 kB / 1.212 GB, free: 9.141 MB / 0.9356 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 7.657e-05/0.8698, allocations: 117.8 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.8698, allocations: 4 kB / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.8702, allocations: 117.5 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8702, allocations: 0 / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8702, allocations: 4 kB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.8702, allocations: 0 / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.8704, allocations: 185.5 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8704, allocations: 0 / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.122e-05/0.8705, allocations: 27.92 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.8705, allocations: 0 / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.8705, allocations: 0 / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8705, allocations: 0 / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8705, allocations: 0 / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.8708, allocations: 211.7 kB / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.8709, allocations: 89.05 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.8709, allocations: 3.984 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.871, allocations: 11.98 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.8711, allocations: 0 / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.8711, allocations: 8 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.057e-05/0.8712, allocations: 99.27 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8712, allocations: 0 / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002277/0.8714, allocations: 11.98 kB / 1.213 GB, free: 8.156 MB / 0.9356 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.0001565/0.8716, allocations: 103.2 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.8719, allocations: 79.92 kB / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8719, allocations: 0 / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.8721, allocations: 43.95 kB / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.8723, allocations: 7.875 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.8727, allocations: 149.5 kB / 1.213 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.8729, allocations: 0.6924 MB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.873, allocations: 3.938 kB / 1.214 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.873, allocations: 11.44 kB / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.873, allocations: 0 / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of Templates: time 0.003016/0.876, allocations: 0.808 MB / 1.215 GB, free: 6.211 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches