Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.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.0007851/0.0007851, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.001874, allocations: 440 kB / 10.41 MB, free: 284 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.0007027/0.0007027, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008928/0.001596, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.062/1.062, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08652/1.149, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.306/2.306, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2296/2.535, allocations: 146 MB / 0.8176 GB, free: 3.793 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.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.401e-05, allocations: 4.703 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001808/0.001822, allocations: 1.465 MB / 0.8203 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009581/0.00278, allocations: 1.075 MB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.002807, allocations: 3.938 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.002837, allocations: 7.984 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.002913, allocations: 43.75 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.003136, allocations: 115.3 kB / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.003326, allocations: 255.5 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.003361, allocations: 7.984 kB / 0.8218 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.003472, allocations: 115.8 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.003579, allocations: 115.8 kB / 0.822 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.003603, allocations: 11.94 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.003821, allocations: 119.8 kB / 0.8222 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.003881, allocations: 83.83 kB / 0.8222 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.003931, allocations: 51.88 kB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.00414, allocations: 215.3 kB / 0.8225 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.004151, allocations: 0 / 0.8225 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004151, allocations: 0 / 0.8225 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.004167, allocations: 0 / 0.8225 GB, free: 14.79 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005554/0.004722, allocations: 479.6 kB / 0.8229 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.00475, allocations: 12.03 kB / 0.823 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.004877, allocations: 106 kB / 0.8231 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.005018, allocations: 173.5 kB / 0.8232 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.005053, allocations: 20.36 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.005074, allocations: 20.31 kB / 0.8233 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.005277, allocations: 177.3 kB / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.005285, allocations: 192 / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.005299, allocations: 8.375 kB / 0.8234 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005306, allocations: 11.94 kB / 0.8235 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.005596, allocations: 288.7 kB / 0.8237 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.005763, allocations: 146.5 kB / 0.8239 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.006242, allocations: 407 kB / 0.8243 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.372e-05/0.006315, allocations: 69.77 kB / 0.8243 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.006472, allocations: 75.89 kB / 0.8244 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.006494, allocations: 42.31 kB / 0.8244 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 5.38e-06/0.0065, allocations: 0 / 0.8244 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0002824/0.006782, allocations: 213 kB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.006806, allocations: 55.41 kB / 0.8247 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.006864, allocations: 114.7 kB / 0.8248 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.006882, allocations: 37.7 kB / 0.8248 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.486e-05/0.006907, allocations: 88.77 kB / 0.8249 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.006977, allocations: 130.8 kB / 0.825 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.007037, allocations: 61.66 kB / 0.8251 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.007118, allocations: 334.7 kB / 0.8254 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.007178, allocations: 42.81 kB / 0.8255 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.615e-05/0.007235, allocations: 40.98 kB / 0.8255 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.007357, allocations: 110.8 kB / 0.8256 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007359, allocations: 0 / 0.8256 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001688/0.007528, allocations: 149.3 kB / 0.8258 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.007539, allocations: 9.406 kB / 0.8258 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.007543, allocations: 0 / 0.8258 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.007555, allocations: 3.984 kB / 0.8258 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.007776, allocations: 119.8 kB / 0.8259 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.00778, allocations: 0 / 0.8259 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.007871, allocations: 51.78 kB / 0.8259 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.007886, allocations: 15.97 kB / 0.8259 GB, free: 11.07 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0003355/0.008221, allocations: 124.6 kB / 0.8261 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.008247, allocations: 31.92 kB / 0.8261 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.008488, allocations: 227.2 kB / 0.8263 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.008491, allocations: 0 / 0.8263 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.008492, allocations: 8 kB / 0.8263 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008496, allocations: 0 / 0.8263 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.008635, allocations: 153.7 kB / 0.8265 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.008636, allocations: 0 / 0.8265 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.008826, allocations: 111.8 kB / 0.8266 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.008841, allocations: 19.83 kB / 0.8266 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.008844, allocations: 8 kB / 0.8266 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.008855, allocations: 4 kB / 0.8266 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008857, allocations: 0 / 0.8266 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.008858, allocations: 7.984 kB / 0.8266 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.009046, allocations: 210.6 kB / 0.8268 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.009063, allocations: 4 kB / 0.8268 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.009146, allocations: 43.95 kB / 0.8269 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.009211, allocations: 43.67 kB / 0.8269 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.009223, allocations: 12 kB / 0.8269 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.888e-05/0.009242, allocations: 20.78 kB / 0.8269 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009242, allocations: 0 / 0.8269 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001808/0.009423, allocations: 99.86 kB / 0.827 GB, free: 9.898 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001887/0.009612, allocations: 144.1 kB / 0.8272 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.009818, allocations: 172.5 kB / 0.8273 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.009824, allocations: 7.984 kB / 0.8273 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.009945, allocations: 125.6 kB / 0.8275 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.01024, allocations: 353.6 kB / 0.8278 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.01255, allocations: 367.9 kB / 0.8281 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.406e-05/0.01259, allocations: 88.81 kB / 0.8282 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.01273, allocations: 65.91 kB / 0.8283 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.0129, allocations: 135.2 kB / 0.8284 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of SimCode: time 8.52e-07/0.0129, allocations: 0 / 0.8284 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of Templates: time 0.00672/0.01962, allocations: 6.173 MB / 0.8344 GB, free: 2.281 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3235908802598715]