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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001422/0.001423, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001767/0.001767, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.7 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 69.36 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4161, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007602/0.4238, allocations: 4.475 MB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003218/0.427, allocations: 2.722 MB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.4272, allocations: 0 / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.4276, allocations: 35.75 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.4279, allocations: 91.47 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.4293, allocations: 449.2 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.4297, allocations: 311.8 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.287e-05/0.4298, allocations: 9.562 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.431, allocations: 406.5 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.4313, allocations: 87.61 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.4313, allocations: 4 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.4327, allocations: 0.4911 MB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4328, allocations: 43.89 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.4329, allocations: 83.58 kB / 1.077 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.434, allocations: 347.4 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.434, allocations: 4 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.434, allocations: 0 / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.4341, allocations: 0 / 1.077 GB, free: 1.34 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.0008466/0.4349, allocations: 0.4993 MB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.435, allocations: 8.031 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.4352, allocations: 24.75 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.4354, allocations: 212.1 kB / 1.078 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.4354, allocations: 12.7 kB / 1.078 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.4355, allocations: 12.38 kB / 1.078 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.4359, allocations: 257 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4359, allocations: 0 / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.4359, allocations: 12 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.436, allocations: 11.94 kB / 1.078 GB, free: 200 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005303/0.4365, allocations: 431.4 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.4378, allocations: 1.004 MB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.4382, allocations: 160.6 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.4383, allocations: 64.88 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.4398, allocations: 1.829 MB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.4398, allocations: 34.56 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.4398, allocations: 0 / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0004102/0.4402, allocations: 152.1 kB / 1.081 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.4403, allocations: 55.34 kB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.4405, allocations: 179.2 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.4405, allocations: 29.69 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.4406, allocations: 139.8 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.4407, allocations: 51.3 kB / 1.082 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.4408, allocations: 53.61 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4409, allocations: 330.7 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.441, allocations: 35.98 kB / 1.082 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.4412, allocations: 142.2 kB / 1.082 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.4414, allocations: 197.4 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4414, allocations: 0 / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003422/0.4418, allocations: 215.8 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4418, allocations: 12 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4418, allocations: 4 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4418, allocations: 4 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.442, allocations: 51.86 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4421, allocations: 4 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.4422, allocations: 35.67 kB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.4422, allocations: 19.94 kB / 1.083 GB, free: 10.38 MB / 0.8419 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.000125/0.4424, allocations: 133.7 kB / 1.083 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.4424, allocations: 15.91 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.4427, allocations: 154.8 kB / 1.083 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.4428, allocations: 7.938 kB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4428, allocations: 3.984 kB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4428, allocations: 0 / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.4431, allocations: 209.6 kB / 1.083 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4431, allocations: 0 / 1.083 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.4432, allocations: 31.92 kB / 1.083 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.4432, allocations: 0 / 1.083 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4432, allocations: 12 kB / 1.083 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4432, allocations: 3.938 kB / 1.083 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4433, allocations: 3.984 kB / 1.083 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.4435, allocations: 221.1 kB / 1.084 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.3e-05/0.4436, allocations: 104.9 kB / 1.084 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.4438, allocations: 8 kB / 1.084 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.444, allocations: 15.92 kB / 1.084 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.444, allocations: 19.92 kB / 1.084 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.444, allocations: 11.98 kB / 1.084 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.424e-05/0.4441, allocations: 116.9 kB / 1.084 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4441, allocations: 4 kB / 1.084 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004006/0.4446, allocations: 68 kB / 1.084 GB, free: 9.156 MB / 0.8419 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.0004141/0.445, allocations: 183 kB / 1.084 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.4452, allocations: 123.7 kB / 1.084 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4452, allocations: 0 / 1.084 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.4453, allocations: 43.92 kB / 1.084 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.4458, allocations: 56.88 kB / 1.084 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.4465, allocations: 395 kB / 1.085 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.447, allocations: 0.7131 MB / 1.085 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.4471, allocations: 49.67 kB / 1.086 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.4472, allocations: 27.44 kB / 1.086 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.4472, allocations: 0 / 1.086 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of Templates: time 0.007821/0.455, allocations: 3.224 MB / 1.089 GB, free: 4.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