Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001388/0.001388, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.00149/0.00149, allocations: 187 kB / 17.34 MB, free: 5.719 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 71.84 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8464/0.8478, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007002/0.8548, allocations: 4.441 MB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003106/0.858, allocations: 2.687 MB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.8582, allocations: 0 / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.8585, allocations: 47.67 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.859, allocations: 99.34 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.8605, allocations: 0.5065 MB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.8609, allocations: 236 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.861, allocations: 9.562 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.8621, allocations: 418.8 kB / 1.176 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.8623, allocations: 83.67 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.8623, allocations: 8 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.8634, allocations: 0.4951 MB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.8635, allocations: 39.83 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.8636, allocations: 75.66 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000803/0.8644, allocations: 348.8 kB / 1.177 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.8644, allocations: 4 kB / 1.177 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8644, allocations: 4 kB / 1.177 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.8644, allocations: 4 kB / 1.177 GB, free: 10.29 MB / 0.9044 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.0008421/0.8653, allocations: 495.4 kB / 1.177 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.8653, allocations: 12.86 kB / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.8655, allocations: 24.75 kB / 1.177 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.8659, allocations: 220 kB / 1.177 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.8659, allocations: 8.703 kB / 1.177 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.8659, allocations: 16.38 kB / 1.177 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.8663, allocations: 249.1 kB / 1.178 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.8664, allocations: 3.938 kB / 1.178 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.8664, allocations: 11.98 kB / 1.178 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.8664, allocations: 4 kB / 1.178 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.8669, allocations: 423.5 kB / 1.178 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.8682, allocations: 1.008 MB / 1.179 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.8685, allocations: 170.9 kB / 1.179 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.8686, allocations: 64.88 kB / 1.179 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.8702, allocations: 1.821 MB / 1.181 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.8703, allocations: 38.56 kB / 1.181 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.8703, allocations: 4 kB / 1.181 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0003527/0.8706, allocations: 137.4 kB / 1.181 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.8707, allocations: 67.27 kB / 1.181 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.8709, allocations: 163.3 kB / 1.181 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.8709, allocations: 25.7 kB / 1.181 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.871, allocations: 143.8 kB / 1.182 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.871, allocations: 51.3 kB / 1.182 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.8711, allocations: 53.61 kB / 1.182 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.8713, allocations: 326.8 kB / 1.182 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.087e-05/0.8713, allocations: 35.97 kB / 1.182 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.8715, allocations: 141.7 kB / 1.182 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.8717, allocations: 203 kB / 1.182 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8717, allocations: 0 / 1.182 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003462/0.8721, allocations: 229 kB / 1.183 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.8721, allocations: 4.469 kB / 1.183 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.8721, allocations: 8 kB / 1.183 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.8722, allocations: 4 kB / 1.183 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.8724, allocations: 59.86 kB / 1.183 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.8724, allocations: 11.92 kB / 1.183 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.8725, allocations: 23.69 kB / 1.183 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.8725, allocations: 16 kB / 1.183 GB, free: 3.336 MB / 0.9044 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.0001094/0.8727, allocations: 125.8 kB / 1.183 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.8727, allocations: 15.89 kB / 1.183 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.873, allocations: 161.1 kB / 1.183 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.873, allocations: 7.938 kB / 1.183 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8731, allocations: 3.984 kB / 1.183 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.8731, allocations: 0 / 1.183 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.8733, allocations: 213.5 kB / 1.183 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8733, allocations: 0 / 1.183 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.624e-05/0.8734, allocations: 31.92 kB / 1.183 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.8734, allocations: 0 / 1.183 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.8735, allocations: 8 kB / 1.183 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.8735, allocations: 3.938 kB / 1.183 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8735, allocations: 0 / 1.183 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.8737, allocations: 219.3 kB / 1.183 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.8739, allocations: 112.8 kB / 1.183 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.8739, allocations: 4 kB / 1.184 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.8741, allocations: 15.92 kB / 1.184 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.8741, allocations: 15.92 kB / 1.184 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.8742, allocations: 8 kB / 1.184 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.621e-05/0.8743, allocations: 128.9 kB / 1.184 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8743, allocations: 4 kB / 1.184 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004048/0.8747, allocations: 79.94 kB / 1.184 GB, free: 2.102 MB / 0.9044 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.0003443/0.875, allocations: 175.1 kB / 1.184 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.8753, allocations: 131.2 kB / 1.184 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8753, allocations: 0 / 1.184 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/0.8754, allocations: 39.92 kB / 1.184 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.8759, allocations: 55.94 kB / 1.184 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.8767, allocations: 368.7 kB / 1.184 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.877, allocations: 0.7168 MB / 1.185 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.877, allocations: 27.44 kB / 1.185 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of SimCode: time 5.08e-06/0.877, allocations: 0 / 1.185 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of Templates: time 0.005851/0.8829, allocations: 3.157 MB / 1.188 GB, free: 13.39 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches