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.001162/0.001162, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001137/0.001137, allocations: 187 kB / 17.34 MB, free: 5.762 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 67.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8576/0.8592, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006232/0.8654, allocations: 4.423 MB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002893/0.8684, allocations: 2.705 MB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.8685, allocations: 1.344 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.8689, allocations: 45.36 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.8692, allocations: 97.08 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.8709, allocations: 0.4915 MB / 1.096 GB, free: 92 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.8714, allocations: 235.8 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 6.017e-05/0.8714, allocations: 10.38 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.8728, allocations: 410.7 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.873, allocations: 94.89 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.873, allocations: 6.906 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.8745, allocations: 500 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.077e-05/0.8746, allocations: 33.36 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.8747, allocations: 80.86 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007544/0.8755, allocations: 353.7 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8755, allocations: 0 / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8755, allocations: 4 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.8755, allocations: 0.7188 kB / 1.098 GB, free: 15.44 MB / 0.8731 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.0008382/0.8764, allocations: 0.4927 MB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.8764, allocations: 9.891 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.8766, allocations: 22.72 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.877, allocations: 215.6 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.877, allocations: 11.14 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.877, allocations: 15.31 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.8775, allocations: 263.5 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8775, allocations: 0.8438 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.8775, allocations: 8.094 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.8776, allocations: 9.547 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006817/0.8783, allocations: 430.2 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.8795, allocations: 1.003 MB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.8799, allocations: 161.6 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.88, allocations: 61.72 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/0.8815, allocations: 1.818 MB / 1.102 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.8816, allocations: 40.72 kB / 1.102 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.8816, allocations: 0 / 1.102 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003771/0.882, allocations: 147 kB / 1.102 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.882, allocations: 57.16 kB / 1.102 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.8822, allocations: 168.2 kB / 1.103 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.8822, allocations: 30.86 kB / 1.103 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.8824, allocations: 145.8 kB / 1.103 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.8824, allocations: 55.86 kB / 1.103 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.8825, allocations: 52.52 kB / 1.103 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.8826, allocations: 326.6 kB / 1.103 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.8827, allocations: 35.59 kB / 1.103 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.8829, allocations: 151.3 kB / 1.103 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.8832, allocations: 196.4 kB / 1.104 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8832, allocations: 1.656 kB / 1.104 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003644/0.8835, allocations: 213.2 kB / 1.104 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.8836, allocations: 6.25 kB / 1.104 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.8836, allocations: 8.781 kB / 1.104 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.8836, allocations: 5.469 kB / 1.104 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.8838, allocations: 53.7 kB / 1.104 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.8838, allocations: 6.297 kB / 1.104 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.884, allocations: 32.78 kB / 1.104 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.884, allocations: 15.22 kB / 1.104 GB, free: 10.12 MB / 0.8731 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.000115/0.8841, allocations: 128.1 kB / 1.104 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.8842, allocations: 16.58 kB / 1.104 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.8845, allocations: 164.5 kB / 1.104 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.8846, allocations: 7.062 kB / 1.104 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8846, allocations: 0.6562 kB / 1.104 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8846, allocations: 0.7969 kB / 1.104 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.8848, allocations: 212.2 kB / 1.104 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8849, allocations: 0 / 1.104 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.885, allocations: 26.39 kB / 1.104 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.885, allocations: 1.219 kB / 1.104 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.885, allocations: 2.359 kB / 1.104 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.885, allocations: 8.688 kB / 1.104 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.885, allocations: 4.688 kB / 1.104 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.8853, allocations: 222.2 kB / 1.105 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.8854, allocations: 105.7 kB / 1.105 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.8855, allocations: 6.125 kB / 1.105 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.8857, allocations: 19.98 kB / 1.105 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.8857, allocations: 12.3 kB / 1.105 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.8857, allocations: 8.438 kB / 1.105 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001056/0.8859, allocations: 127.5 kB / 1.105 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8859, allocations: 3.938 kB / 1.105 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004514/0.8863, allocations: 76.39 kB / 1.105 GB, free: 9.266 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.0003791/0.8867, allocations: 184.6 kB / 1.105 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.887, allocations: 118.2 kB / 1.105 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.887, allocations: 0.6875 kB / 1.105 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.265e-05/0.8871, allocations: 44.44 kB / 1.105 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.8876, allocations: 51.06 kB / 1.105 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/0.8884, allocations: 370 kB / 1.106 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.8887, allocations: 0.7163 MB / 1.106 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.8888, allocations: 28.39 kB / 1.106 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8888, allocations: 0.5312 kB / 1.106 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of Templates: time 0.006863/0.8957, allocations: 3.147 MB / 1.11 GB, free: 7.746 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches