Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001567/0.002595, 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.0009672/0.0009672, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002312, 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 0.9905/0.9905, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08572/1.076, allocations: 53.66 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.333/2.333, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2565/2.59, allocations: 146 MB / 0.8176 GB, free: 3.824 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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.142e-05, allocations: 6.25 kB / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01235/0.01238, allocations: 13.11 MB / 0.8318 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002122/0.0145, allocations: 2.819 MB / 0.8345 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.0146, allocations: 0 / 0.8345 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.01482, allocations: 43.64 kB / 0.8346 GB, free: 2.383 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.01501, allocations: 99.34 kB / 0.8347 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.01612, allocations: 0.5285 MB / 0.8352 GB, free: 1.754 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.01639, allocations: 235.8 kB / 0.8354 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.01644, allocations: 10.47 kB / 0.8354 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006254/0.02269, allocations: 3.039 MB / 0.8384 GB, free: 14.46 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.02288, allocations: 79.78 kB / 0.8385 GB, free: 14.38 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.0229, allocations: 8 kB / 0.8385 GB, free: 14.38 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.02477, allocations: 0.9961 MB / 0.8395 GB, free: 13.38 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.02484, allocations: 27.92 kB / 0.8395 GB, free: 13.35 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.02492, allocations: 51.88 kB / 0.8395 GB, free: 13.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005853/0.02551, allocations: 323 kB / 0.8398 GB, free: 12.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.02552, allocations: 0 / 0.8398 GB, free: 12.98 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.02552, allocations: 0 / 0.8398 GB, free: 12.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.02554, allocations: 4 kB / 0.8398 GB, free: 12.98 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007151/0.02625, allocations: 0.5437 MB / 0.8404 GB, free: 12.39 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.02629, allocations: 8.031 kB / 0.8404 GB, free: 12.38 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.02643, allocations: 52.77 kB / 0.8404 GB, free: 12.33 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.02661, allocations: 157.5 kB / 0.8406 GB, free: 12.15 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.02663, allocations: 8.703 kB / 0.8406 GB, free: 12.14 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.02665, allocations: 24.36 kB / 0.8406 GB, free: 12.12 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.02691, allocations: 406.7 kB / 0.841 GB, free: 11.65 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.02692, allocations: 192 / 0.841 GB, free: 11.65 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.02694, allocations: 16.12 kB / 0.841 GB, free: 11.63 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.02697, allocations: 4 kB / 0.841 GB, free: 11.63 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.02716, allocations: 246.2 kB / 0.8413 GB, free: 11.39 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006533/0.02782, allocations: 0.7051 MB / 0.8419 GB, free: 10.65 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.028, allocations: 153.1 kB / 0.8421 GB, free: 10.49 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.02803, allocations: 32.86 kB / 0.8421 GB, free: 10.45 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/0.02851, allocations: 486 kB / 0.8426 GB, free: 9.965 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.02854, allocations: 30.56 kB / 0.8426 GB, free: 9.926 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.02854, allocations: 8 kB / 0.8426 GB, free: 9.918 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0001772/0.02872, allocations: 136 kB / 0.8428 GB, free: 9.781 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.02874, allocations: 55.41 kB / 0.8428 GB, free: 9.715 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.02883, allocations: 165.3 kB / 0.843 GB, free: 9.543 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.02885, allocations: 25.7 kB / 0.843 GB, free: 9.512 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.0289, allocations: 152 kB / 0.8431 GB, free: 9.359 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.02893, allocations: 55.58 kB / 0.8432 GB, free: 9.305 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.02897, allocations: 49.64 kB / 0.8432 GB, free: 9.25 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.02905, allocations: 326.8 kB / 0.8435 GB, free: 8.922 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.02908, allocations: 26.81 kB / 0.8436 GB, free: 8.895 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.02915, allocations: 129.7 kB / 0.8437 GB, free: 8.719 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.02928, allocations: 196.8 kB / 0.8439 GB, free: 8.477 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02928, allocations: 0 / 0.8439 GB, free: 8.477 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001537/0.02944, allocations: 164.5 kB / 0.844 GB, free: 8.309 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.02945, allocations: 8 kB / 0.844 GB, free: 8.301 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.02946, allocations: 4 kB / 0.844 GB, free: 8.297 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.02948, allocations: 8 kB / 0.8441 GB, free: 8.289 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.02964, allocations: 67.84 kB / 0.8441 GB, free: 8.223 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.02966, allocations: 11.98 kB / 0.8441 GB, free: 8.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.02972, allocations: 31.77 kB / 0.8442 GB, free: 8.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.02973, allocations: 12 kB / 0.8442 GB, free: 8.168 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.45e-05/0.0298, allocations: 128.5 kB / 0.8443 GB, free: 8.031 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.02983, allocations: 19.98 kB / 0.8443 GB, free: 8.012 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.03, allocations: 117 kB / 0.8444 GB, free: 7.895 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.03001, allocations: 4 kB / 0.8444 GB, free: 7.891 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.03001, allocations: 0 / 0.8444 GB, free: 7.891 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.03002, allocations: 3.984 kB / 0.8444 GB, free: 7.887 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.03014, allocations: 109.7 kB / 0.8445 GB, free: 7.762 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.03015, allocations: 3.938 kB / 0.8445 GB, free: 7.758 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.03023, allocations: 35.98 kB / 0.8446 GB, free: 7.723 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.03027, allocations: 27.88 kB / 0.8446 GB, free: 7.695 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.03027, allocations: 4 kB / 0.8446 GB, free: 7.691 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.03028, allocations: 4 kB / 0.8446 GB, free: 7.688 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.03028, allocations: 0 / 0.8446 GB, free: 7.688 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.03028, allocations: 0 / 0.8446 GB, free: 7.688 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.0305, allocations: 238 kB / 0.8448 GB, free: 7.438 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.03052, allocations: 8 kB / 0.8448 GB, free: 7.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.0306, allocations: 4 kB / 0.8449 GB, free: 7.426 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.03061, allocations: 15.97 kB / 0.8449 GB, free: 7.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.03063, allocations: 8 kB / 0.8449 GB, free: 7.402 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.69e-05/0.03066, allocations: 30.45 kB / 0.8449 GB, free: 7.371 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.03066, allocations: 0 / 0.8449 GB, free: 7.371 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002466/0.0309, allocations: 79.86 kB / 0.845 GB, free: 7.293 MB / 0.823 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002694/0.03117, allocations: 180 kB / 0.8452 GB, free: 7.109 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.0313, allocations: 96.83 kB / 0.8452 GB, free: 7.012 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.03131, allocations: 4 kB / 0.8452 GB, free: 7.008 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.03136, allocations: 55.28 kB / 0.8453 GB, free: 6.953 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.03162, allocations: 161 kB / 0.8455 GB, free: 6.781 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.03433, allocations: 347 kB / 0.8458 GB, free: 6.41 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.03438, allocations: 68 kB / 0.8458 GB, free: 6.324 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.0345, allocations: 53.19 kB / 0.8459 GB, free: 6.27 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.03466, allocations: 117.3 kB / 0.846 GB, free: 6.152 MB / 0.823 GB Notification: Performance of SimCode: time 1.523e-06/0.03466, allocations: 4 kB / 0.846 GB, free: 6.148 MB / 0.823 GB Notification: Performance of Templates: time 0.00569/0.04035, allocations: 3.806 MB / 0.8497 GB, free: 2.383 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.168867452070117]