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.001028/0.001028, allocations: 84.55 kB / 19.92 MB, free: 4.617 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.0009302/0.0009302, allocations: 177.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.9313/0.9313, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.817/1.817, allocations: 388.8 MB / 0.6336 GB, free: 13.04 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.743e-06/1.743e-06, allocations: 0 / 1 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.951e-05, allocations: 2.281 kB / 1 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.002285/0.002314, allocations: 1.294 MB / 1.002 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.004157, allocations: 1.5 MB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.004187, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.004205, allocations: 3.938 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.004264, allocations: 11.88 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.004772, allocations: 211 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.004836, allocations: 47.84 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.031e-05/0.004866, allocations: 3.984 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.004907, allocations: 23.92 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.346e-05/0.00493, allocations: 23.91 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.004941, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.005274, allocations: 215.5 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-06/0.005283, allocations: 4 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.005302, allocations: 15.92 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.005509, allocations: 183.6 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.00551, allocations: 0 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.183e-06/0.005511, allocations: 7.938 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.005519, allocations: 0 / 1.004 GB, free: 10.2 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.0003113/0.00583, allocations: 313.8 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.005862, allocations: 8.75 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.005886, allocations: 0.9375 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.006117, allocations: 109.7 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.006127, allocations: 384 / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.006137, allocations: 8.375 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.358e-05/0.006231, allocations: 71.89 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.006238, allocations: 192 / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.006245, allocations: 384 / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.006251, allocations: 7.938 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.466e-05/0.006306, allocations: 39.95 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.00643, allocations: 126.1 kB / 1.005 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.001e-05/0.00651, allocations: 73.02 kB / 1.005 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.006541, allocations: 21.78 kB / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004551/0.006997, allocations: 259.8 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.007022, allocations: 46.48 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.007023, allocations: 0 / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001637/0.007186, allocations: 82.14 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.007221, allocations: 84.98 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.007274, allocations: 101.8 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.007285, allocations: 29.7 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.007307, allocations: 80.14 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.007337, allocations: 35.69 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.007363, allocations: 17.72 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.516e-05/0.007438, allocations: 323 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.007458, allocations: 19.92 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.007492, allocations: 25.7 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.383e-05/0.007546, allocations: 45.72 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.007547, allocations: 192 / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.354e-05/0.007631, allocations: 73.69 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.007641, allocations: 7.938 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.007645, allocations: 0 / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.007655, allocations: 3.984 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.00771, allocations: 19.97 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.007716, allocations: 7.938 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.00773, allocations: 3.953 kB / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.007736, allocations: 4 kB / 1.006 GB, free: 7.977 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.279e-05/0.007799, allocations: 117.8 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.007805, allocations: 0 / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.007928, allocations: 101.7 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00793, allocations: 192 / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.007934, allocations: 3.938 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.007938, allocations: 3.984 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.291e-05/0.008011, allocations: 125.2 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008012, allocations: 0 / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.00804, allocations: 19.98 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.008041, allocations: 0 / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.008047, allocations: 4 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008048, allocations: 0 / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.008049, allocations: 3.938 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.803e-05/0.008137, allocations: 105.9 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.008162, allocations: 19.92 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.008172, allocations: 0 / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.008182, allocations: 0 / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.008199, allocations: 15.88 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.008204, allocations: 7.984 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.697e-05/0.008231, allocations: 83.28 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008232, allocations: 0 / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002099/0.008441, allocations: 71.73 kB / 1.006 GB, free: 7.234 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.0002763/0.008718, allocations: 218.8 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.008825, allocations: 47.92 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.008827, allocations: 0 / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-05/0.00885, allocations: 23.92 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.009024, allocations: 15.98 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.009264, allocations: 169.7 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.0093, allocations: 67.41 kB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.009331, allocations: 16.03 kB / 1.007 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.009353, allocations: 12.5 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of SimCode: time 3.01e-07/0.009353, allocations: 0 / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of Templates: time 0.002884/0.01224, allocations: 1.973 MB / 1.009 GB, free: 4.672 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 -s cvode -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: 5.493419682141393]