Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.0009018/0.0009018, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.0008617/0.0008617, allocations: 161.3 kB / 23.51 MB, free: 0.9141 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 0.9252/0.9252, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.827/1.827, allocations: 390.1 MB / 0.6352 GB, free: 11.47 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.827 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.526e-05, allocations: 2.312 kB / 0.827 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001659/0.001684, allocations: 1.269 MB / 0.8282 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.004348, allocations: 2.817 MB / 0.831 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.004379, allocations: 4 kB / 0.831 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.004398, allocations: 3.938 kB / 0.831 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.707e-05/0.004445, allocations: 4.688 kB / 0.831 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.004932, allocations: 100.7 kB / 0.8311 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.005007, allocations: 39.84 kB / 0.8311 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.005048, allocations: 4.531 kB / 0.8311 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.005446, allocations: 168.7 kB / 0.8313 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/0.005483, allocations: 11.97 kB / 0.8313 GB, free: 11 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.005498, allocations: 4 kB / 0.8313 GB, free: 11 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.005604, allocations: 56.48 kB / 0.8314 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.00562, allocations: 13.2 kB / 0.8314 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.005642, allocations: 7.984 kB / 0.8314 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.005801, allocations: 67.8 kB / 0.8315 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005803, allocations: 5.281 kB / 0.8315 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.92e-07/0.005804, allocations: 0 / 0.8315 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.005808, allocations: 0 / 0.8315 GB, free: 10.85 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003774/0.006185, allocations: 271.2 kB / 0.8317 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.006226, allocations: 12.03 kB / 0.8317 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.00628, allocations: 4.938 kB / 0.8317 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.53e-05/0.006365, allocations: 108 kB / 0.8318 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.006381, allocations: 8.375 kB / 0.8318 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.006408, allocations: 4.375 kB / 0.8319 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.006563, allocations: 135.3 kB / 0.832 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.006573, allocations: 4.125 kB / 0.832 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.006586, allocations: 4.125 kB / 0.832 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.006591, allocations: 3.438 kB / 0.832 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.006634, allocations: 15.98 kB / 0.832 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.006766, allocations: 117.3 kB / 0.8321 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.065e-05/0.006846, allocations: 50.62 kB / 0.8322 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.006872, allocations: 12.84 kB / 0.8322 GB, free: 10 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/0.007367, allocations: 245.8 kB / 0.8324 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.007391, allocations: 30.56 kB / 0.8324 GB, free: 9.703 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=5): time 1.083e-06/0.007392, allocations: 4 kB / 0.8324 GB, free: 9.699 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7): time 0.0004725/0.007865, allocations: 229.8 kB / 0.8327 GB, free: 9.441 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.007894, allocations: 55.91 kB / 0.8327 GB, free: 9.375 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.007965, allocations: 102.4 kB / 0.8328 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.007977, allocations: 30.3 kB / 0.8328 GB, free: 9.23 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.008013, allocations: 84.09 kB / 0.8329 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.008032, allocations: 36.48 kB / 0.833 GB, free: 9.109 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.008066, allocations: 31.59 kB / 0.833 GB, free: 9.074 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.008142, allocations: 318.8 kB / 0.8333 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.008167, allocations: 12 kB / 0.8333 GB, free: 8.742 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.008213, allocations: 57.52 kB / 0.8334 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.008281, allocations: 74.77 kB / 0.8334 GB, free: 8.578 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.008283, allocations: 4 kB / 0.8334 GB, free: 8.574 MB / 0.7917 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001051/0.008388, allocations: 90.66 kB / 0.8335 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.008401, allocations: 11.98 kB / 0.8335 GB, free: 8.469 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.008407, allocations: 4.656 kB / 0.8335 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.00842, allocations: 5.469 kB / 0.8335 GB, free: 8.461 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.008474, allocations: 19.94 kB / 0.8336 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.008481, allocations: 4 kB / 0.8336 GB, free: 8.438 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.008501, allocations: 0 / 0.8336 GB, free: 8.438 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.008507, allocations: 7.875 kB / 0.8336 GB, free: 8.434 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.984e-05/0.008567, allocations: 121.8 kB / 0.8337 GB, free: 8.305 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.008586, allocations: 11.95 kB / 0.8337 GB, free: 8.293 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.008609, allocations: 8.125 kB / 0.8337 GB, free: 8.285 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.008611, allocations: 0 / 0.8337 GB, free: 8.285 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.008615, allocations: 3.938 kB / 0.8337 GB, free: 8.281 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008618, allocations: 4 kB / 0.8337 GB, free: 8.277 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.008753, allocations: 117.2 kB / 0.8338 GB, free: 8.133 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.008754, allocations: 0 / 0.8338 GB, free: 8.133 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.008803, allocations: 19.98 kB / 0.8338 GB, free: 8.113 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.11e-07/0.008804, allocations: 0.9375 kB / 0.8338 GB, free: 8.113 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.00881, allocations: 0 / 0.8338 GB, free: 8.113 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.008811, allocations: 1.031 kB / 0.8339 GB, free: 8.113 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008811, allocations: 0 / 0.8339 GB, free: 8.113 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.00896, allocations: 171.5 kB / 0.834 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.008982, allocations: 9.078 kB / 0.834 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.008995, allocations: 7.938 kB / 0.834 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/0.009053, allocations: 11.97 kB / 0.834 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.009069, allocations: 1.031 kB / 0.834 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.009073, allocations: 4 kB / 0.834 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 2.582e-05/0.009099, allocations: 83.66 kB / 0.8341 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.009099, allocations: 1.062 kB / 0.8341 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001611/0.00926, allocations: 11.98 kB / 0.8341 GB, free: 7.805 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 9.803e-05/0.009358, allocations: 112.6 kB / 0.8342 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 9.386e-05/0.009452, allocations: 37.3 kB / 0.8343 GB, free: 7.652 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009454, allocations: 0 / 0.8343 GB, free: 7.652 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.00947, allocations: 15.94 kB / 0.8343 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.009674, allocations: 14.42 kB / 0.8343 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.01011, allocations: 261.3 kB / 0.8346 GB, free: 7.344 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.979e-05/0.01016, allocations: 67.34 kB / 0.8346 GB, free: 7.258 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.01019, allocations: 7.984 kB / 0.8346 GB, free: 7.25 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.01021, allocations: 12.5 kB / 0.8346 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of SimCode: time 5.51e-07/0.01021, allocations: 0 / 0.8346 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of Templates: time 0.002511/0.01272, allocations: 0.6569 MB / 0.8353 GB, free: 6.609 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.906063539907336]