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.0008512/0.0008512, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001253/0.002105, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001086/0.001086, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001448/0.002534, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.043/1.043, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1134/1.157, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.483/2.483, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2496/2.732, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.512e-06/1.512e-06, allocations: 0 / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.662e-05, allocations: 4.703 kB / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.002757/0.002784, allocations: 1.395 MB / 0.8196 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.004558, allocations: 1.215 MB / 0.8208 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.004595, allocations: 0 / 0.8208 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.004612, allocations: 7.922 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.004665, allocations: 7.938 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.005237, allocations: 147.2 kB / 0.821 GB, free: 148 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.513e-05/0.005332, allocations: 39.8 kB / 0.821 GB, free: 108 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.005376, allocations: 15.92 kB / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.104e-05/0.005457, allocations: 27.97 kB / 0.8211 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.005497, allocations: 15.92 kB / 0.8211 GB, free: 48 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.005513, allocations: 0 / 0.8211 GB, free: 48 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004686/0.005981, allocations: 147.7 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.005997, allocations: 7.938 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.006025, allocations: 8 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.006275, allocations: 123.7 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2e-05/0.006295, allocations: 0 / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.774e-06/0.006296, allocations: 4 kB / 0.8214 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.006315, allocations: 4 kB / 0.8214 GB, free: 15.76 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.0004377/0.006753, allocations: 292.2 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.006796, allocations: 12.03 kB / 0.8216 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.00683, allocations: 8.875 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.928e-05/0.006929, allocations: 105.8 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.006944, allocations: 12.38 kB / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.006952, allocations: 384 / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.007061, allocations: 59.95 kB / 0.8218 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.007073, allocations: 4.125 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.007081, allocations: 384 / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.00709, allocations: 11.94 kB / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.007143, allocations: 27.95 kB / 0.8219 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.007276, allocations: 85.81 kB / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.00736, allocations: 57.06 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.007393, allocations: 25.77 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006275/0.00802, allocations: 252 kB / 0.8223 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.008053, allocations: 34.56 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/0.008056, allocations: 0 / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001759/0.008231, allocations: 69.59 kB / 0.8224 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.008269, allocations: 77.11 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/0.008325, allocations: 102.7 kB / 0.8225 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.008347, allocations: 33.7 kB / 0.8226 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.197e-05/0.008369, allocations: 80.14 kB / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.008405, allocations: 35.72 kB / 0.8227 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.008434, allocations: 13.72 kB / 0.8227 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/0.008517, allocations: 330.9 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.008529, allocations: 7.938 kB / 0.823 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.00855, allocations: 21.72 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.688e-05/0.008597, allocations: 37.67 kB / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.008599, allocations: 0 / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.666e-05/0.008666, allocations: 53.94 kB / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.008679, allocations: 8 kB / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.008684, allocations: 0 / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.008692, allocations: 0 / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.008759, allocations: 19.98 kB / 0.8232 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.008764, allocations: 8.094 kB / 0.8232 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.008783, allocations: 19.77 kB / 0.8232 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.008789, allocations: 4 kB / 0.8232 GB, free: 13.7 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 5.749e-05/0.008847, allocations: 109.8 kB / 0.8233 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.008856, allocations: 8 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.008974, allocations: 81.83 kB / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008976, allocations: 0 / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.008978, allocations: 0 / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.008981, allocations: 0 / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.603e-05/0.009057, allocations: 85.83 kB / 0.8235 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009058, allocations: 0 / 0.8235 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.0091, allocations: 19.98 kB / 0.8235 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.009127, allocations: 15.92 kB / 0.8235 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.009128, allocations: 0 / 0.8235 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.009133, allocations: 3.938 kB / 0.8235 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.009136, allocations: 4 kB / 0.8235 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.009138, allocations: 4 kB / 0.8235 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.036e-05/0.009219, allocations: 97.77 kB / 0.8236 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.009228, allocations: 4 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-06/0.009237, allocations: 0 / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.009252, allocations: 11.98 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.009255, allocations: 0 / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.158e-05/0.009266, allocations: 8.859 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.009267, allocations: 0 / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001788/0.009445, allocations: 55.8 kB / 0.8237 GB, free: 13.14 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.0004687/0.009914, allocations: 168.1 kB / 0.8238 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.283e-05/0.009997, allocations: 40.7 kB / 0.8239 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.01, allocations: 0 / 0.8239 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.01002, allocations: 20.84 kB / 0.8239 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.01019, allocations: 22.42 kB / 0.8239 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.01114, allocations: 181.4 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.523e-05/0.01118, allocations: 71.16 kB / 0.8242 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.019e-05/0.01122, allocations: 8.031 kB / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.01127, allocations: 63.36 kB / 0.8242 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of SimCode: time 9.52e-07/0.01128, allocations: 0 / 0.8242 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of Templates: time 0.003455/0.01473, allocations: 1.859 MB / 0.826 GB, free: 10.67 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.ref.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.320402848534286]