Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0008139/0.0008139, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005478/0.005478, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.474/1.474, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.818/2.818, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004013, allocations: 9.156 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4144, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005309/0.4198, allocations: 4.103 MB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.4231, allocations: 2.675 MB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.4232, allocations: 0 / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.4235, allocations: 43.73 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.4239, allocations: 87.48 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.425, allocations: 449.3 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.4253, allocations: 315.8 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.4254, allocations: 5.562 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.4264, allocations: 406.3 kB / 1.067 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.4265, allocations: 99.58 kB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.4265, allocations: 8 kB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009397/0.4275, allocations: 495 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.4276, allocations: 27.91 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.4277, allocations: 105.4 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.4283, allocations: 359.3 kB / 1.068 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4283, allocations: 4 kB / 1.068 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.915e-06/0.4283, allocations: 4 kB / 1.068 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.4283, allocations: 0 / 1.068 GB, free: 12.3 MB / 0.8262 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.0008163/0.4291, allocations: 471.2 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.4292, allocations: 8.031 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.4294, allocations: 24.73 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.4296, allocations: 200.2 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.4297, allocations: 20.69 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.4297, allocations: 16.38 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.4301, allocations: 253 kB / 1.069 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4301, allocations: 0 / 1.069 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.4301, allocations: 8 kB / 1.069 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.4302, allocations: 11.98 kB / 1.069 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.4307, allocations: 427.4 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.4319, allocations: 1.015 MB / 1.07 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.4321, allocations: 151.1 kB / 1.07 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4323, allocations: 64.88 kB / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.4337, allocations: 1.825 MB / 1.072 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.4337, allocations: 38.56 kB / 1.072 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.4337, allocations: 0 / 1.072 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003296/0.4341, allocations: 139.5 kB / 1.072 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.4341, allocations: 63.34 kB / 1.072 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.4343, allocations: 171.9 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4343, allocations: 33.7 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.4344, allocations: 131.8 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.4345, allocations: 63.12 kB / 1.073 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.4345, allocations: 29.7 kB / 1.073 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4346, allocations: 326.8 kB / 1.073 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.4347, allocations: 35.97 kB / 1.073 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.4349, allocations: 142.2 kB / 1.073 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.4351, allocations: 204 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4351, allocations: 0 / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003143/0.4354, allocations: 213.7 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4355, allocations: 5.406 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4355, allocations: 8 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4355, allocations: 8 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.4357, allocations: 55.86 kB / 1.074 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.4357, allocations: 11.92 kB / 1.074 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.4358, allocations: 31.62 kB / 1.074 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.4359, allocations: 12 kB / 1.074 GB, free: 5.414 MB / 0.8262 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.0001303/0.436, allocations: 135.1 kB / 1.074 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.436, allocations: 19.81 kB / 1.074 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.4364, allocations: 159 kB / 1.074 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.4364, allocations: 3.938 kB / 1.074 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4364, allocations: 4 kB / 1.074 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.4364, allocations: 0 / 1.074 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.4367, allocations: 213.5 kB / 1.074 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4367, allocations: 0 / 1.074 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-05/0.4368, allocations: 27.92 kB / 1.074 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4368, allocations: 0 / 1.074 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4368, allocations: 8 kB / 1.074 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.4368, allocations: 11.92 kB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4368, allocations: 0 / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.4371, allocations: 217.8 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.4372, allocations: 101 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.4372, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.4374, allocations: 31.83 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.4375, allocations: 15.92 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.4375, allocations: 11.98 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000108/0.4376, allocations: 120 kB / 1.075 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.753e-06/0.4376, allocations: 0 / 1.075 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003933/0.438, allocations: 83.92 kB / 1.075 GB, free: 4.18 MB / 0.8262 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.0004245/0.4385, allocations: 179.1 kB / 1.075 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.4387, allocations: 115.7 kB / 1.075 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4387, allocations: 3.938 kB / 1.075 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.379e-05/0.4388, allocations: 43.92 kB / 1.075 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.4393, allocations: 54.27 kB / 1.075 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/0.4401, allocations: 432.2 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.4404, allocations: 0.7131 MB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.4406, allocations: 49.67 kB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.4407, allocations: 27.44 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4407, allocations: 0 / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of Templates: time 0.00764/0.4483, allocations: 3.218 MB / 1.079 GB, free: 15.34 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches