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.001304/0.001304, allocations: 110 kB / 15.99 MB, free: 6.75 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.001358/0.001358, allocations: 199.2 kB / 16.91 MB, free: 6.523 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.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.681/2.681, allocations: 437 MB / 0.7107 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.91 kB / 0.8694 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.5579, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005848/0.5638, allocations: 4.467 MB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.5665, allocations: 2.687 MB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.5666, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.5669, allocations: 39.8 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.5672, allocations: 91.42 kB / 1.025 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.5682, allocations: 450.9 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.5684, allocations: 243.7 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.5685, allocations: 9.562 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008334/0.5693, allocations: 414.9 kB / 1.026 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.5694, allocations: 91.66 kB / 1.026 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.5695, allocations: 12 kB / 1.026 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008125/0.5703, allocations: 0.491 MB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.5703, allocations: 35.89 kB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.5704, allocations: 79.64 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.5708, allocations: 245.4 kB / 1.027 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5708, allocations: 0 / 1.027 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5708, allocations: 0 / 1.027 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5708, allocations: 4 kB / 1.027 GB, free: 9.367 MB / 0.7794 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.0006793/0.5715, allocations: 0.4953 MB / 1.027 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.5715, allocations: 8.031 kB / 1.027 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.5717, allocations: 24.75 kB / 1.027 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.5719, allocations: 212.1 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.5719, allocations: 16.7 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.5719, allocations: 16.38 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.5723, allocations: 249.1 kB / 1.028 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5723, allocations: 0 / 1.028 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.5724, allocations: 8 kB / 1.028 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.5724, allocations: 8 kB / 1.028 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.5729, allocations: 424 kB / 1.028 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.574, allocations: 1.015 MB / 1.029 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.5743, allocations: 155.1 kB / 1.029 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.5745, allocations: 56.89 kB / 1.029 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/0.576, allocations: 1.837 MB / 1.031 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.576, allocations: 30.56 kB / 1.031 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.576, allocations: 3.938 kB / 1.031 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003341/0.5764, allocations: 143.6 kB / 1.031 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.5764, allocations: 63.34 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.5766, allocations: 169.1 kB / 1.031 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.5766, allocations: 29.7 kB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.5767, allocations: 143.8 kB / 1.031 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.5768, allocations: 55.19 kB / 1.032 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.5768, allocations: 49.7 kB / 1.032 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.577, allocations: 330.8 kB / 1.032 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-05/0.577, allocations: 31.98 kB / 1.032 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.5772, allocations: 141.6 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.5774, allocations: 195.8 kB / 1.032 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5774, allocations: 4 kB / 1.032 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003084/0.5778, allocations: 213 kB / 1.032 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5778, allocations: 8 kB / 1.032 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5778, allocations: 7.984 kB / 1.032 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5778, allocations: 4.469 kB / 1.032 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.578, allocations: 55.86 kB / 1.033 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.578, allocations: 12 kB / 1.033 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.5781, allocations: 31.62 kB / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.5782, allocations: 19.98 kB / 1.033 GB, free: 2.422 MB / 0.7794 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.0001019/0.5783, allocations: 127.3 kB / 1.033 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.5783, allocations: 15.81 kB / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.5786, allocations: 148.5 kB / 1.033 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.5786, allocations: 7.938 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5787, allocations: 4 kB / 1.033 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5787, allocations: 3.984 kB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.5789, allocations: 217.5 kB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.579, allocations: 0 / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.722e-05/0.579, allocations: 27.98 kB / 1.033 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.5791, allocations: 3.938 kB / 1.033 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.5791, allocations: 8 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.5791, allocations: 3.938 kB / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.5791, allocations: 0 / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.5793, allocations: 223.3 kB / 1.033 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.5794, allocations: 104.9 kB / 1.033 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.5795, allocations: 4 kB / 1.033 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.5797, allocations: 23.91 kB / 1.033 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.5797, allocations: 7.984 kB / 1.033 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.5797, allocations: 12 kB / 1.034 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.928e-05/0.5798, allocations: 129.6 kB / 1.034 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5798, allocations: 4 kB / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003693/0.5802, allocations: 71.94 kB / 1.034 GB, free: 1.207 MB / 0.7794 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.0003831/0.5806, allocations: 187 kB / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.5809, allocations: 125.4 kB / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5809, allocations: 12.06 kB / 1.034 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.581, allocations: 44.48 kB / 1.034 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.5814, allocations: 47.94 kB / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007196/0.5821, allocations: 425.3 kB / 1.035 GB, free: 352 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.5824, allocations: 0.7128 MB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.5825, allocations: 31.42 kB / 1.035 GB, free: 15.57 MB / 0.795 GB Notification: Performance of SimCode: time 2.01e-07/0.5825, allocations: 0 / 1.035 GB, free: 15.57 MB / 0.795 GB Notification: Performance of Templates: time 0.004932/0.5874, allocations: 3.139 MB / 1.038 GB, free: 12.45 MB / 0.795 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