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.0008614/0.0008614, allocations: 80.55 kB / 19.92 MB, free: 4.625 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.0008824/0.0008824, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.914/0.914, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.808/1.808, allocations: 388.8 MB / 0.6336 GB, free: 13.05 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/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.723e-06/1.723e-06, allocations: 0 / 1 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.04e-05, allocations: 2.281 kB / 1 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.00198/0.002011, allocations: 1.304 MB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.003634, allocations: 1.126 MB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.003671, allocations: 0 / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.003695, allocations: 3.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.357e-05/0.003779, allocations: 3.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.004352, allocations: 159.3 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.004433, allocations: 47.72 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.004474, allocations: 4 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.089e-05/0.004525, allocations: 23.97 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.767e-05/0.004553, allocations: 15.92 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.004567, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.004899, allocations: 147.7 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.004913, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.004939, allocations: 12 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.005137, allocations: 143.5 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.00514, allocations: 7.938 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.412e-06/0.005142, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.005152, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 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.0003658/0.005517, allocations: 290 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.00556, allocations: 12.75 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.005597, allocations: 0.9375 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/0.005691, allocations: 109.7 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.005703, allocations: 384 / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.005716, allocations: 4.375 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.005843, allocations: 71.89 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.005851, allocations: 192 / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.005862, allocations: 12.31 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005869, allocations: 3.938 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.365e-05/0.005932, allocations: 43.94 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.006073, allocations: 122.1 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.88e-05/0.006162, allocations: 69.11 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.006199, allocations: 25.77 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005542/0.006753, allocations: 259.8 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.006783, allocations: 38.5 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.006784, allocations: 4 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0002109/0.006995, allocations: 86.12 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.007037, allocations: 84.98 kB / 1.005 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.007102, allocations: 97.86 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.007113, allocations: 25.7 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.007135, allocations: 84.14 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.007172, allocations: 35.69 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.007199, allocations: 21.84 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.007282, allocations: 322.8 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.551e-05/0.007307, allocations: 8 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.007338, allocations: 25.7 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.988e-05/0.007398, allocations: 49.91 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.007401, allocations: 0 / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.585e-05/0.007496, allocations: 77.61 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.007511, allocations: 6.188 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007516, allocations: 0 / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.007528, allocations: 4.031 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.007595, allocations: 19.94 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.007602, allocations: 11.92 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.007617, allocations: 3.953 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.007625, allocations: 8 kB / 1.005 GB, free: 8.566 MB / 0.9636 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 6.168e-05/0.007687, allocations: 109.8 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.007698, allocations: 4 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.007851, allocations: 101.7 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.007854, allocations: 0 / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.007858, allocations: 3.938 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007861, allocations: 7.969 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.649e-05/0.007938, allocations: 117.4 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.007939, allocations: 3.938 kB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.007971, allocations: 15.98 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.007974, allocations: 3.984 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.007982, allocations: 4 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.007984, allocations: 4 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007986, allocations: 0 / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.008088, allocations: 109.8 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.008118, allocations: 11.94 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.00813, allocations: 4 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.016e-05/0.00814, allocations: 4 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.008161, allocations: 15.86 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.008165, allocations: 4 kB / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.529e-05/0.00819, allocations: 79.28 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00819, allocations: 4 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002113/0.008402, allocations: 55.8 kB / 1.006 GB, free: 7.844 MB / 0.9636 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.0002355/0.008637, allocations: 182.9 kB / 1.006 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.00875, allocations: 43.92 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.008752, allocations: 0 / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.008776, allocations: 23.92 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.008996, allocations: 11.98 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.0093, allocations: 165.8 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.351e-05/0.009343, allocations: 67.28 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.74e-05/0.009381, allocations: 12.03 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.009404, allocations: 12.5 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.009405, allocations: 0 / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of Templates: time 0.00313/0.01253, allocations: 1.588 MB / 1.008 GB, free: 5.715 MB / 0.9636 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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.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: 5.3504175981506705]