Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008164/0.0008164, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.0008173/0.0008173, allocations: 177.9 kB / 23.22 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.8676/0.8676, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.365e-05, allocations: 5.375 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005353/0.005377, allocations: 4.229 MB / 0.9559 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.007683, allocations: 2.457 MB / 0.9583 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.007758, allocations: 4 kB / 0.9583 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.008022, allocations: 39.69 kB / 0.9583 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.008284, allocations: 103.2 kB / 0.9584 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008577/0.009141, allocations: 0.5292 MB / 0.9589 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.009386, allocations: 247.8 kB / 0.9592 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.009429, allocations: 5.812 kB / 0.9592 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009036/0.01033, allocations: 0.5064 MB / 0.9597 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.01044, allocations: 79.77 kB / 0.9597 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.01047, allocations: 8 kB / 0.9597 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007085/0.01118, allocations: 498.7 kB / 0.9602 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.01125, allocations: 39.83 kB / 0.9603 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.0113, allocations: 55.91 kB / 0.9603 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.01169, allocations: 366.9 kB / 0.9607 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01169, allocations: 0 / 0.9607 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01169, allocations: 0 / 0.9607 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.0117, allocations: 4 kB / 0.9607 GB, free: 9.789 MB / 0.9167 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.0005952/0.01229, allocations: 437.4 kB / 0.9611 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01233, allocations: 16.03 kB / 0.9611 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.01243, allocations: 20.84 kB / 0.9611 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.01262, allocations: 149.6 kB / 0.9613 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.01263, allocations: 16.64 kB / 0.9613 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.01265, allocations: 16.36 kB / 0.9613 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.01298, allocations: 475 kB / 0.9617 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.01299, allocations: 192 / 0.9617 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.01301, allocations: 12.12 kB / 0.9618 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.01303, allocations: 4 kB / 0.9618 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.01334, allocations: 431.4 kB / 0.9622 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.01401, allocations: 0.825 MB / 0.963 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.01425, allocations: 147.6 kB / 0.9631 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.319e-05/0.01431, allocations: 48.84 kB / 0.9632 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005113/0.01482, allocations: 459.7 kB / 0.9636 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.01484, allocations: 38.56 kB / 0.9636 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.01485, allocations: 0 / 0.9636 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0002302/0.01508, allocations: 141.5 kB / 0.9638 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.0151, allocations: 55.41 kB / 0.9638 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.829e-05/0.0152, allocations: 165 kB / 0.964 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.01521, allocations: 29.7 kB / 0.964 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.01527, allocations: 144.1 kB / 0.9642 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.0153, allocations: 55.53 kB / 0.9642 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.01535, allocations: 53.66 kB / 0.9643 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.01542, allocations: 326.8 kB / 0.9646 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.01547, allocations: 39.91 kB / 0.9646 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.01555, allocations: 137.7 kB / 0.9647 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.01571, allocations: 211.9 kB / 0.9649 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.01571, allocations: 4 kB / 0.9649 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001966/0.01591, allocations: 205.6 kB / 0.9651 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.01592, allocations: 8.062 kB / 0.9651 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.01593, allocations: 4 kB / 0.9652 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.01594, allocations: 8 kB / 0.9652 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.01605, allocations: 59.91 kB / 0.9652 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01605, allocations: 4 kB / 0.9652 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.01611, allocations: 27.78 kB / 0.9652 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.01613, allocations: 16 kB / 0.9653 GB, free: 4.707 MB / 0.9167 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.183e-05/0.0162, allocations: 133.7 kB / 0.9654 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.01622, allocations: 19.89 kB / 0.9654 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.01641, allocations: 153.5 kB / 0.9656 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.01642, allocations: 4 kB / 0.9656 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01642, allocations: 0 / 0.9656 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01642, allocations: 0 / 0.9656 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.01655, allocations: 157.1 kB / 0.9657 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01655, allocations: 4 kB / 0.9657 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.01661, allocations: 31.92 kB / 0.9657 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01661, allocations: 7.938 kB / 0.9657 GB, free: 4.164 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.01662, allocations: 0 / 0.9657 GB, free: 4.164 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01662, allocations: 7.969 kB / 0.9658 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01662, allocations: 3.938 kB / 0.9658 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.01677, allocations: 231.5 kB / 0.966 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.0168, allocations: 23.92 kB / 0.966 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.01682, allocations: 0 / 0.966 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.01691, allocations: 15.98 kB / 0.966 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.01693, allocations: 11.97 kB / 0.966 GB, free: 3.859 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01694, allocations: 15.98 kB / 0.966 GB, free: 3.844 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.01699, allocations: 114.2 kB / 0.9662 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01699, allocations: 0 / 0.9662 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002374/0.01723, allocations: 87.77 kB / 0.9662 GB, free: 3.648 MB / 0.9167 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.0002093/0.01744, allocations: 183 kB / 0.9664 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.01759, allocations: 111.8 kB / 0.9665 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01759, allocations: 0 / 0.9665 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.01763, allocations: 44.84 kB / 0.9666 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.01787, allocations: 42.58 kB / 0.9666 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.01833, allocations: 340.1 kB / 0.9669 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.276e-05/0.01839, allocations: 98.94 kB / 0.967 GB, free: 2.777 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.01843, allocations: 32.48 kB / 0.9671 GB, free: 2.746 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/0.01843, allocations: 0 / 0.9671 GB, free: 2.746 MB / 0.9167 GB Notification: Performance of Templates: time 0.003265/0.0217, allocations: 3.131 MB / 0.9701 GB, free: 15.64 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.54135931096971]