Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.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.0009686/0.0009686, 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.001075/0.001075, allocations: 173 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.9629/0.9629, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.416/2.416, allocations: 438.8 MB / 0.6826 GB, free: 13.59 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.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.469e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001839/0.001863, allocations: 1.356 MB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.003261, allocations: 1.219 MB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.003289, allocations: 0 / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.003307, allocations: 4 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.429e-05/0.003381, allocations: 15.84 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.003854, allocations: 147.3 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.003918, allocations: 47.78 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.003951, allocations: 15.92 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.69e-05/0.003998, allocations: 23.92 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.508e-05/0.004023, allocations: 15.97 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.004035, allocations: 0 / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.004296, allocations: 139.8 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.004307, allocations: 3.984 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.004326, allocations: 15.98 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.004488, allocations: 139.5 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00449, allocations: 0 / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004491, allocations: 4 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.004494, allocations: 4 kB / 0.8416 GB, free: 11.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000262/0.004756, allocations: 268.6 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.004785, allocations: 12.03 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.004809, allocations: 0.9375 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.321e-05/0.004882, allocations: 113.7 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.004894, allocations: 8.375 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.004903, allocations: 384 / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.004993, allocations: 63.94 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.005, allocations: 192 / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.005007, allocations: 384 / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.005014, allocations: 7.875 kB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.53e-05/0.005049, allocations: 39.89 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.705e-05/0.005146, allocations: 73.89 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.636e-05/0.005222, allocations: 57.19 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.005246, allocations: 21.77 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004406/0.005687, allocations: 251.9 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.005709, allocations: 34.56 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.00571, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001253/0.005835, allocations: 69.59 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.005903, allocations: 77.11 kB / 0.8427 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.403e-05/0.005957, allocations: 106.7 kB / 0.8428 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.005965, allocations: 25.7 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.005988, allocations: 84.14 kB / 0.8429 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.006025, allocations: 31.73 kB / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.006052, allocations: 17.7 kB / 0.8429 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.00613, allocations: 322.9 kB / 0.8432 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.006141, allocations: 12 kB / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.006164, allocations: 25.64 kB / 0.8433 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.006202, allocations: 33.69 kB / 0.8433 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.006204, allocations: 0 / 0.8433 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.114e-05/0.006265, allocations: 53.62 kB / 0.8433 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.006278, allocations: 4 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006282, allocations: 4 kB / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.006297, allocations: 0 / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.006355, allocations: 15.98 kB / 0.8434 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.006359, allocations: 4.031 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.006382, allocations: 15.83 kB / 0.8434 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.00639, allocations: 4 kB / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0001514/0.006541, allocations: 117.8 kB / 0.8435 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.006553, allocations: 11.98 kB / 0.8435 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.006657, allocations: 69.92 kB / 0.8436 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.00666, allocations: 3.984 kB / 0.8436 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.006663, allocations: 4 kB / 0.8436 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.006667, allocations: 3.938 kB / 0.8436 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.355e-05/0.006741, allocations: 81.83 kB / 0.8437 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.006742, allocations: 4.031 kB / 0.8437 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.00677, allocations: 19.92 kB / 0.8437 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006772, allocations: 4 kB / 0.8437 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.006777, allocations: 0 / 0.8437 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.006778, allocations: 0 / 0.8437 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.006779, allocations: 0 / 0.8437 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.025e-05/0.006849, allocations: 94.03 kB / 0.8438 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.006875, allocations: 19.86 kB / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.006884, allocations: 8 kB / 0.8438 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-06/0.006894, allocations: 0 / 0.8438 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.006907, allocations: 7.984 kB / 0.8438 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.006911, allocations: 4 kB / 0.8438 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.426e-06/0.006919, allocations: 4.859 kB / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006919, allocations: 4 kB / 0.8438 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001614/0.00708, allocations: 55.8 kB / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0002326/0.007313, allocations: 164.2 kB / 0.844 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.574e-05/0.007399, allocations: 36.72 kB / 0.8441 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.007402, allocations: 0 / 0.8441 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.007423, allocations: 28.8 kB / 0.8441 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.007553, allocations: 8.766 kB / 0.8441 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.007993, allocations: 177.5 kB / 0.8443 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.468e-05/0.008028, allocations: 59.36 kB / 0.8443 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.008065, allocations: 12.02 kB / 0.8443 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.008129, allocations: 71.34 kB / 0.8444 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of SimCode: time 1.292e-06/0.008131, allocations: 0 / 0.8444 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of Templates: time 0.003424/0.01155, allocations: 1.833 MB / 0.8462 GB, free: 6.086 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.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.239306911826134]