Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001423/0.001423, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001585/0.001585, allocations: 222.9 kB / 23 MB, free: 4.91 MB / 14.72 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.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] 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 3.267/3.267, allocations: 0.5107 GB / 0.8166 GB, free: 17.89 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 62.16 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3546, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006693/0.3613, allocations: 4.229 MB / 1.369 GB, free: 9.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003088/0.3643, allocations: 2.446 MB / 1.371 GB, free: 6.867 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.3644, allocations: 0 / 1.371 GB, free: 6.867 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.3647, allocations: 51.62 kB / 1.371 GB, free: 6.816 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.365, allocations: 95.36 kB / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.3663, allocations: 0.5176 MB / 1.372 GB, free: 6.207 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.3666, allocations: 235.9 kB / 1.372 GB, free: 5.977 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.3666, allocations: 9.75 kB / 1.372 GB, free: 5.965 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.3678, allocations: 496.8 kB / 1.373 GB, free: 5.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.368, allocations: 87.59 kB / 1.373 GB, free: 5.395 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.368, allocations: 8 kB / 1.373 GB, free: 5.387 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.3691, allocations: 475.1 kB / 1.373 GB, free: 4.922 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.3692, allocations: 39.89 kB / 1.373 GB, free: 4.883 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.3693, allocations: 71.7 kB / 1.373 GB, free: 4.812 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005815/0.3698, allocations: 346.9 kB / 1.373 GB, free: 4.473 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3699, allocations: 0 / 1.373 GB, free: 4.473 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3699, allocations: 0 / 1.373 GB, free: 4.473 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.3699, allocations: 4 kB / 1.373 GB, free: 4.469 MB / 1.061 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.0007903/0.3707, allocations: 441.4 kB / 1.374 GB, free: 4.004 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3707, allocations: 12.03 kB / 1.374 GB, free: 3.992 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.3709, allocations: 24.84 kB / 1.374 GB, free: 3.969 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.3712, allocations: 162.2 kB / 1.374 GB, free: 3.785 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3712, allocations: 12.7 kB / 1.374 GB, free: 3.773 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.3712, allocations: 12.38 kB / 1.374 GB, free: 3.762 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.3717, allocations: 470.6 kB / 1.375 GB, free: 3.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3718, allocations: 0 / 1.375 GB, free: 3.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.3718, allocations: 12 kB / 1.375 GB, free: 3.219 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.3718, allocations: 4 kB / 1.375 GB, free: 3.215 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005353/0.3723, allocations: 423.5 kB / 1.375 GB, free: 2.801 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.3734, allocations: 0.829 MB / 1.376 GB, free: 1.922 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.3738, allocations: 150.3 kB / 1.376 GB, free: 1.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3739, allocations: 60.88 kB / 1.376 GB, free: 1.707 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007719/0.3747, allocations: 451.9 kB / 1.376 GB, free: 1.246 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.3747, allocations: 38.56 kB / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.3747, allocations: 0 / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003375/0.375, allocations: 137.5 kB / 1.377 GB, free: 1.059 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3751, allocations: 55.41 kB / 1.377 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.3752, allocations: 167.3 kB / 1.377 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.3753, allocations: 29.7 kB / 1.377 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3754, allocations: 144.1 kB / 1.377 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.3754, allocations: 55.53 kB / 1.377 GB, free: 0.582 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.3755, allocations: 53.64 kB / 1.377 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3757, allocations: 330.8 kB / 1.377 GB, free: 196 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.3757, allocations: 39.97 kB / 1.377 GB, free: 156 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.3759, allocations: 138.2 kB / 1.378 GB, free: 15.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.3762, allocations: 203.7 kB / 1.378 GB, free: 15.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3762, allocations: 3.938 kB / 1.378 GB, free: 15.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003675/0.3765, allocations: 209.3 kB / 1.378 GB, free: 15.5 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3766, allocations: 8 kB / 1.378 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3766, allocations: 4 kB / 1.378 GB, free: 15.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3766, allocations: 4 kB / 1.378 GB, free: 15.49 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.3768, allocations: 67.84 kB / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3768, allocations: 7.938 kB / 1.378 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3769, allocations: 27.78 kB / 1.378 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3769, allocations: 12.38 kB / 1.378 GB, free: 15.38 MB / 1.076 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 0.0001273/0.377, allocations: 141.7 kB / 1.378 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.3771, allocations: 11.95 kB / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.3774, allocations: 154.2 kB / 1.378 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.3774, allocations: 4 kB / 1.378 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3774, allocations: 3.938 kB / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3774, allocations: 0 / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.3776, allocations: 149.1 kB / 1.379 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3776, allocations: 0 / 1.379 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3777, allocations: 27.98 kB / 1.379 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3778, allocations: 4 kB / 1.379 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.3778, allocations: 11.98 kB / 1.379 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3778, allocations: 0 / 1.379 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3778, allocations: 0 / 1.379 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.378, allocations: 225.6 kB / 1.379 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.3781, allocations: 31.88 kB / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3781, allocations: 0 / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.3783, allocations: 15.98 kB / 1.379 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.3784, allocations: 15.97 kB / 1.379 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.3784, allocations: 11.94 kB / 1.379 GB, free: 14.53 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.188e-05/0.3785, allocations: 117.9 kB / 1.379 GB, free: 14.42 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3785, allocations: 0 / 1.379 GB, free: 14.42 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004021/0.3789, allocations: 79.81 kB / 1.379 GB, free: 14.34 MB / 1.076 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.0003214/0.3792, allocations: 182.9 kB / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3795, allocations: 108.6 kB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3795, allocations: 4.062 kB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.3795, allocations: 47.86 kB / 1.379 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.38, allocations: 35.91 kB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008119/0.3808, allocations: 381.8 kB / 1.38 GB, free: 13.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.3809, allocations: 98.88 kB / 1.38 GB, free: 13.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.381, allocations: 35.41 kB / 1.38 GB, free: 13.4 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.381, allocations: 0 / 1.38 GB, free: 13.4 MB / 1.076 GB Notification: Performance of Templates: time 0.005772/0.3867, allocations: 3.11 MB / 1.383 GB, free: 10.3 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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: 11.72417807392776]