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.005418/0.005418, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001275/0.001275, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.692/2.692, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.91 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3812, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006554/0.3878, allocations: 4.443 MB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003043/0.3909, allocations: 2.679 MB / 1.215 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.391, allocations: 0 / 1.215 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.3914, allocations: 47.67 kB / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.3917, allocations: 99.34 kB / 1.215 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.393, allocations: 492.2 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.3933, allocations: 247.9 kB / 1.216 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/0.3934, allocations: 9.562 kB / 1.216 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.3946, allocations: 422.7 kB / 1.216 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.3947, allocations: 91.59 kB / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3948, allocations: 8 kB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.396, allocations: 495.1 kB / 1.217 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.988e-05/0.3961, allocations: 31.89 kB / 1.217 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.3962, allocations: 79.66 kB / 1.217 GB, free: 496 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007359/0.3969, allocations: 359 kB / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.397, allocations: 0 / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.397, allocations: 0 / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.397, allocations: 0 / 1.217 GB, free: 136 kB / 0.9669 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.001037/0.398, allocations: 0.4992 MB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.3981, allocations: 12.62 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.3983, allocations: 16.84 kB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.3986, allocations: 208.1 kB / 1.218 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.3986, allocations: 12.7 kB / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.3987, allocations: 16.38 kB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.3992, allocations: 257 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3993, allocations: 0 / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.3993, allocations: 8 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.3993, allocations: 8 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.3999, allocations: 427.5 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.4013, allocations: 1.011 MB / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.4016, allocations: 159 kB / 1.22 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.4017, allocations: 68.88 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001805/0.4035, allocations: 1.817 MB / 1.221 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.4036, allocations: 38.56 kB / 1.221 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.4036, allocations: 0 / 1.221 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003621/0.4039, allocations: 151.8 kB / 1.222 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.404, allocations: 63.33 kB / 1.222 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4042, allocations: 167.2 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.4042, allocations: 33.7 kB / 1.222 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.4044, allocations: 139.8 kB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.4044, allocations: 47.34 kB / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.4045, allocations: 57.61 kB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002396/0.4048, allocations: 326.8 kB / 1.222 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/0.4049, allocations: 43.97 kB / 1.222 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.405, allocations: 131.4 kB / 1.223 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.4052, allocations: 197.5 kB / 1.223 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4052, allocations: 4 kB / 1.223 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003143/0.4055, allocations: 220 kB / 1.223 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4056, allocations: 11.94 kB / 1.223 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4056, allocations: 4.469 kB / 1.223 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.4056, allocations: 4 kB / 1.223 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.4058, allocations: 59.86 kB / 1.223 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4058, allocations: 4 kB / 1.223 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.406, allocations: 31.67 kB / 1.223 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.406, allocations: 16 kB / 1.223 GB, free: 9.176 MB / 0.9825 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.0001259/0.4061, allocations: 129.7 kB / 1.223 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.4062, allocations: 15.81 kB / 1.223 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.4065, allocations: 158.9 kB / 1.223 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.4065, allocations: 7.922 kB / 1.223 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.4065, allocations: 8 kB / 1.223 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.4065, allocations: 3.984 kB / 1.223 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.4068, allocations: 209.6 kB / 1.224 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4068, allocations: 0 / 1.224 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.245e-05/0.4069, allocations: 23.98 kB / 1.224 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4069, allocations: 0 / 1.224 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4069, allocations: 4 kB / 1.224 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4069, allocations: 3.938 kB / 1.224 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.407, allocations: 4 kB / 1.224 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.4072, allocations: 227.2 kB / 1.224 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/0.4073, allocations: 108.8 kB / 1.224 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.4073, allocations: 0 / 1.224 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.4075, allocations: 19.92 kB / 1.224 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.4076, allocations: 15.98 kB / 1.224 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.4076, allocations: 8 kB / 1.224 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.158e-05/0.4077, allocations: 128.9 kB / 1.224 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4077, allocations: 0 / 1.224 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003971/0.4081, allocations: 72 kB / 1.224 GB, free: 7.957 MB / 0.9825 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.0003447/0.4085, allocations: 183 kB / 1.224 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.4087, allocations: 119.1 kB / 1.224 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4087, allocations: 256 / 1.224 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.643e-05/0.4088, allocations: 47.92 kB / 1.224 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.4092, allocations: 47.94 kB / 1.225 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.41, allocations: 346.9 kB / 1.225 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.4103, allocations: 0.7205 MB / 1.226 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000136/0.4104, allocations: 45.78 kB / 1.226 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.4105, allocations: 23.44 kB / 1.226 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.4105, allocations: 0 / 1.226 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of Templates: time 0.007637/0.4181, allocations: 3.392 MB / 1.229 GB, free: 3.027 MB / 0.9825 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