Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.001397/0.001397, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001585/0.001585, allocations: 177 kB / 23.36 MB, free: 1.133 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.9941/0.9941, allocations: 177.1 MB / 203.8 MB, free: 5.496 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 2.305/2.305, allocations: 438.8 MB / 0.6827 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.83e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.004958/0.004976, allocations: 1.418 MB / 0.8399 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.006277, allocations: 1.071 MB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.00631, allocations: 0 / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.577e-05/0.006386, allocations: 7.922 kB / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.975e-05/0.006486, allocations: 39.81 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.006863, allocations: 123.3 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.007085, allocations: 239.5 kB / 0.8414 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.007123, allocations: 7.984 kB / 0.8414 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.007236, allocations: 119.8 kB / 0.8415 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.007357, allocations: 115.8 kB / 0.8416 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.007384, allocations: 8 kB / 0.8416 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.01065, allocations: 119.8 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.392e-05/0.01074, allocations: 95.78 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.01081, allocations: 63.89 kB / 0.8419 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.01108, allocations: 263.2 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.01108, allocations: 4 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.42e-07/0.01108, allocations: 0 / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.01108, allocations: 0 / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005536/0.01164, allocations: 431.9 kB / 0.8426 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.01167, allocations: 8.031 kB / 0.8426 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.01178, allocations: 28.91 kB / 0.8426 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.01194, allocations: 161.5 kB / 0.8427 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.01198, allocations: 28.11 kB / 0.8428 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.01201, allocations: 20.36 kB / 0.8428 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.01226, allocations: 181.5 kB / 0.843 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.01227, allocations: 192 / 0.843 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.01229, allocations: 8.375 kB / 0.843 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.0123, allocations: 7.938 kB / 0.843 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.0127, allocations: 293 kB / 0.8433 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.01291, allocations: 146.3 kB / 0.8434 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003639/0.01655, allocations: 406.6 kB / 0.8438 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.01665, allocations: 68.83 kB / 0.8438 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.01684, allocations: 79.83 kB / 0.8439 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.01686, allocations: 34.56 kB / 0.844 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 1.492e-06/0.01686, allocations: 0 / 0.844 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0003483/0.01721, allocations: 213.8 kB / 0.8442 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.01724, allocations: 59.41 kB / 0.8442 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.067e-05/0.01731, allocations: 130.6 kB / 0.8443 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.01733, allocations: 29.7 kB / 0.8444 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.01736, allocations: 88.78 kB / 0.8445 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/0.01745, allocations: 126.9 kB / 0.8446 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.01753, allocations: 53.67 kB / 0.8446 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.01763, allocations: 334.7 kB / 0.8449 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.01771, allocations: 42.81 kB / 0.845 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.01778, allocations: 43.92 kB / 0.845 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.01794, allocations: 119.8 kB / 0.8451 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01795, allocations: 0 / 0.8451 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002261/0.01817, allocations: 157.4 kB / 0.8453 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.01818, allocations: 4 kB / 0.8453 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01819, allocations: 0 / 0.8453 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.0182, allocations: 4 kB / 0.8453 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.01845, allocations: 91.84 kB / 0.8454 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.01846, allocations: 7.984 kB / 0.8454 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.01859, allocations: 55.75 kB / 0.8454 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.01861, allocations: 11.98 kB / 0.8455 GB, free: 7.035 MB / 0.8073 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 (37): * Single equations (assignments): 37 * 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 8.459e-05/0.01869, allocations: 124.6 kB / 0.8456 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.01873, allocations: 31.97 kB / 0.8456 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.01902, allocations: 211.2 kB / 0.8458 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01903, allocations: 4 kB / 0.8458 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.01903, allocations: 0 / 0.8458 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.01903, allocations: 7.969 kB / 0.8458 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.01921, allocations: 161.6 kB / 0.846 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01922, allocations: 0 / 0.846 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/0.02245, allocations: 95.86 kB / 0.8461 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.02245, allocations: 0 / 0.8461 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.02247, allocations: 15.98 kB / 0.8461 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.02247, allocations: 0 / 0.8461 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.02247, allocations: 0 / 0.8461 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.02272, allocations: 206.3 kB / 0.8463 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.02274, allocations: 19.84 kB / 0.8463 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.02277, allocations: 12 kB / 0.8463 GB, free: 6.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.02288, allocations: 39.95 kB / 0.8463 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.02296, allocations: 39.92 kB / 0.8464 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.02298, allocations: 11.94 kB / 0.8464 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.118e-05/0.023, allocations: 20.83 kB / 0.8464 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.023, allocations: 0 / 0.8464 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002611/0.02326, allocations: 99.86 kB / 0.8465 GB, free: 5.898 MB / 0.8073 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 (37): * Single equations (assignments): 37 * 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.0002109/0.02348, allocations: 140.2 kB / 0.8466 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.02372, allocations: 160.8 kB / 0.8468 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.02372, allocations: 4 kB / 0.8468 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.02385, allocations: 112.4 kB / 0.8469 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.02411, allocations: 95.86 kB / 0.847 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/0.02479, allocations: 363.2 kB / 0.8473 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.02484, allocations: 84.83 kB / 0.8474 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.02502, allocations: 73.77 kB / 0.8475 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.02523, allocations: 127.3 kB / 0.8476 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.02523, allocations: 0 / 0.8476 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of Templates: time 0.01338/0.03861, allocations: 5.976 MB / 0.8535 GB, free: 14.84 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.481472234707326]