Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006316/0.006316, allocations: 104.5 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 192.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 62.34 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3543, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006336/0.3607, allocations: 4.417 MB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.3636, allocations: 2.698 MB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.3637, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.364, allocations: 47.69 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.3644, allocations: 95.34 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3655, allocations: 499.2 kB / 1.096 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.3658, allocations: 243.9 kB / 1.096 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.3658, allocations: 17.55 kB / 1.096 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009247/0.3668, allocations: 410.8 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3669, allocations: 99.59 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3669, allocations: 4 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009038/0.3678, allocations: 495 kB / 1.097 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.3679, allocations: 31.89 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.977e-05/0.368, allocations: 83.64 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.3686, allocations: 351.1 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3686, allocations: 0 / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3686, allocations: 0 / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3686, allocations: 0 / 1.097 GB, free: 7.965 MB / 0.8575 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.0007919/0.3694, allocations: 0.5031 MB / 1.098 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3694, allocations: 12.03 kB / 1.098 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.3696, allocations: 24.73 kB / 1.098 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.3699, allocations: 208.1 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3699, allocations: 12.7 kB / 1.098 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.37, allocations: 12.38 kB / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.3704, allocations: 253 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3704, allocations: 0 / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.3704, allocations: 12 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.3704, allocations: 7.984 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/0.3709, allocations: 431.5 kB / 1.099 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.372, allocations: 1.004 MB / 1.1 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.3723, allocations: 160.4 kB / 1.1 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3724, allocations: 72.86 kB / 1.1 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.3739, allocations: 1.813 MB / 1.102 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.3739, allocations: 34.56 kB / 1.102 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.3739, allocations: 0 / 1.102 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003623/0.3743, allocations: 156.4 kB / 1.102 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.3743, allocations: 59.34 kB / 1.102 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3745, allocations: 175.3 kB / 1.102 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.3746, allocations: 25.7 kB / 1.102 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3747, allocations: 147.7 kB / 1.102 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.3747, allocations: 43.36 kB / 1.102 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/0.3748, allocations: 53.61 kB / 1.102 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3749, allocations: 326.8 kB / 1.103 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.375, allocations: 39.98 kB / 1.103 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3751, allocations: 147.1 kB / 1.103 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.3754, allocations: 193.5 kB / 1.103 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3754, allocations: 3.938 kB / 1.103 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003017/0.3757, allocations: 213.2 kB / 1.103 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3757, allocations: 8 kB / 1.103 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3758, allocations: 4 kB / 1.103 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.3758, allocations: 8.406 kB / 1.103 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.376, allocations: 63.78 kB / 1.103 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.376, allocations: 4 kB / 1.103 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3761, allocations: 27.75 kB / 1.103 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.3761, allocations: 12 kB / 1.103 GB, free: 1.012 MB / 0.8575 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.0001243/0.3762, allocations: 133.7 kB / 1.103 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.3763, allocations: 19.81 kB / 1.103 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.3766, allocations: 161.1 kB / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.3766, allocations: 7.938 kB / 1.104 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3766, allocations: 0 / 1.104 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3766, allocations: 4 kB / 1.104 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.3769, allocations: 213.6 kB / 1.104 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3769, allocations: 0 / 1.104 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.377, allocations: 24 kB / 1.104 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.377, allocations: 3.984 kB / 1.104 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.377, allocations: 4 kB / 1.104 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.377, allocations: 7.938 kB / 1.104 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.377, allocations: 0 / 1.104 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.3773, allocations: 223.2 kB / 1.104 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.3774, allocations: 108.8 kB / 1.104 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3774, allocations: 4 kB / 1.104 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3776, allocations: 19.91 kB / 1.104 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.3777, allocations: 15.98 kB / 1.104 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3777, allocations: 7.938 kB / 1.104 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.984e-05/0.3778, allocations: 124.9 kB / 1.104 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3778, allocations: 0 / 1.104 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003769/0.3782, allocations: 75.98 kB / 1.104 GB, free: 15.79 MB / 0.8731 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.0003233/0.3785, allocations: 187.6 kB / 1.105 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.3787, allocations: 115.8 kB / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3788, allocations: 0 / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/0.3788, allocations: 48.05 kB / 1.105 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.3793, allocations: 47.95 kB / 1.105 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007104/0.38, allocations: 342.9 kB / 1.105 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.3803, allocations: 0.709 MB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.3804, allocations: 53.67 kB / 1.106 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.3805, allocations: 19.44 kB / 1.106 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.3805, allocations: 0 / 1.106 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.00715/0.3876, allocations: 3.364 MB / 1.109 GB, free: 10.89 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches