Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.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.0007939/0.0007939, allocations: 76.55 kB / 19.92 MB, free: 4.621 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.0007581/0.0007581, allocations: 181.9 kB / 23.21 MB, free: 1.336 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.8571/0.8571, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.747/1.747, allocations: 388.8 MB / 0.6336 GB, free: 13.07 MB / 0.6042 GB " [Timeout remaining time 178] 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.PropyleneGlycolWater,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.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,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.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 1 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.955e-05, allocations: 2.281 kB / 1 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001524/0.001543, allocations: 1.308 MB / 1.002 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.003032, allocations: 1.492 MB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.003054, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.003076, allocations: 7.922 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.003144, allocations: 7.922 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.003625, allocations: 211 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.003691, allocations: 51.78 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.00373, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.101e-05/0.003781, allocations: 27.91 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.522e-05/0.003806, allocations: 15.98 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.003821, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.004173, allocations: 215.5 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.004185, allocations: 7.984 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.004208, allocations: 11.94 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.004426, allocations: 183.6 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.004428, allocations: 3.938 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004429, allocations: 4 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.004437, allocations: 0 / 1.004 GB, free: 10.24 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.0003145/0.004752, allocations: 317.7 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.004785, allocations: 8.75 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.004813, allocations: 4.938 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.0049, allocations: 113.7 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.004909, allocations: 4.375 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.00492, allocations: 4.375 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.005027, allocations: 67.91 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.005035, allocations: 192 / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.005045, allocations: 384 / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005051, allocations: 11.94 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.783e-05/0.005109, allocations: 39.94 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.005235, allocations: 126.2 kB / 1.005 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.932e-05/0.005314, allocations: 68.98 kB / 1.005 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.00535, allocations: 29.77 kB / 1.005 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004725/0.005823, allocations: 255.8 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.005848, allocations: 38.56 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.005849, allocations: 0 / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001752/0.006024, allocations: 85.84 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.00606, allocations: 85.05 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.553e-05/0.006115, allocations: 98.02 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.006125, allocations: 29.64 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/0.006149, allocations: 88.11 kB / 1.005 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.00618, allocations: 31.7 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.006211, allocations: 25.7 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.006286, allocations: 319 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.006307, allocations: 15.94 kB / 1.006 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.006332, allocations: 25.7 kB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.174e-05/0.006384, allocations: 45.77 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006386, allocations: 4 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.786e-05/0.006463, allocations: 73.62 kB / 1.006 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006475, allocations: 4.188 kB / 1.006 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.006479, allocations: 0 / 1.006 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.006492, allocations: 7.938 kB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.006545, allocations: 20.02 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.006551, allocations: 3.938 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.006565, allocations: 3.953 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.006571, allocations: 4 kB / 1.006 GB, free: 8.016 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 5.318e-05/0.006625, allocations: 117.8 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-06/0.00663, allocations: 0 / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.006756, allocations: 101.7 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.006758, allocations: 0 / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.006764, allocations: 3.938 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.006772, allocations: 4 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.277e-05/0.006855, allocations: 121.2 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006856, allocations: 0 / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.006886, allocations: 16 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.006886, allocations: 0 / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.006893, allocations: 4 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.006893, allocations: 0 / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.006895, allocations: 0 / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.331e-05/0.006988, allocations: 113.8 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.007012, allocations: 15.94 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.007021, allocations: 192 / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.007031, allocations: 4 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.007049, allocations: 15.91 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.007054, allocations: 8 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.389e-05/0.007078, allocations: 83.22 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007078, allocations: 0 / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001873/0.007265, allocations: 71.73 kB / 1.006 GB, free: 7.277 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.0002476/0.007513, allocations: 222.8 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.007605, allocations: 47.91 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.007607, allocations: 0 / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.007627, allocations: 16 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.007799, allocations: 19.98 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.00806, allocations: 195.3 kB / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.008098, allocations: 67.47 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.00812, allocations: 20.48 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.00812, allocations: 0 / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of Templates: time 0.002337/0.01046, allocations: 1.934 MB / 1.009 GB, free: 4.703 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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: 6.517339078709483]