Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006992/0.006992, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.002003/0.002003, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.91 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.645/0.647, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006039/0.653, allocations: 4.421 MB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.6561, allocations: 2.691 MB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.6561, allocations: 4 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.6564, allocations: 47.69 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.6566, allocations: 91.41 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.6577, allocations: 0.4928 MB / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.6579, allocations: 239.9 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.658, allocations: 9.562 kB / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008531/0.6589, allocations: 418.7 kB / 1.228 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.659, allocations: 87.67 kB / 1.228 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.659, allocations: 4 kB / 1.228 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000931/0.66, allocations: 499.1 kB / 1.229 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.66, allocations: 31.89 kB / 1.229 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.6601, allocations: 83.59 kB / 1.229 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.6607, allocations: 354.6 kB / 1.229 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6607, allocations: 0 / 1.229 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6608, allocations: 0 / 1.229 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.6608, allocations: 0 / 1.229 GB, free: 8.562 MB / 0.9512 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.0007241/0.6615, allocations: 0.4986 MB / 1.23 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.6615, allocations: 16.03 kB / 1.23 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.6616, allocations: 54.72 kB / 1.23 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.6618, allocations: 24.84 kB / 1.23 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.662, allocations: 208.2 kB / 1.23 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.662, allocations: 8.703 kB / 1.23 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.6621, allocations: 20.31 kB / 1.23 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.6625, allocations: 252.9 kB / 1.23 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.6625, allocations: 0 / 1.23 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.6625, allocations: 8 kB / 1.23 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.6626, allocations: 7.938 kB / 1.23 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005503/0.6631, allocations: 443.4 kB / 1.231 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.6642, allocations: 1.004 MB / 1.232 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.6645, allocations: 154.1 kB / 1.232 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.6646, allocations: 68.81 kB / 1.232 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.6661, allocations: 1.821 MB / 1.234 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.6662, allocations: 42.5 kB / 1.234 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.6662, allocations: 0 / 1.234 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003313/0.6665, allocations: 143.9 kB / 1.234 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.6666, allocations: 55.41 kB / 1.234 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.6668, allocations: 179.2 kB / 1.234 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.6668, allocations: 41.62 kB / 1.234 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.6669, allocations: 144 kB / 1.234 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.6669, allocations: 51.53 kB / 1.234 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.667, allocations: 49.7 kB / 1.235 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.6672, allocations: 322.8 kB / 1.235 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.6673, allocations: 35.97 kB / 1.235 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.6674, allocations: 146.2 kB / 1.235 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.6677, allocations: 208.4 kB / 1.235 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6677, allocations: 0 / 1.235 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003523/0.6681, allocations: 217.2 kB / 1.235 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6681, allocations: 4 kB / 1.235 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6681, allocations: 7.938 kB / 1.235 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.6681, allocations: 11.94 kB / 1.235 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.6683, allocations: 52.39 kB / 1.235 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.6683, allocations: 11.92 kB / 1.236 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.6684, allocations: 27.84 kB / 1.236 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.6685, allocations: 12 kB / 1.236 GB, free: 1.523 MB / 0.9512 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.0001131/0.6686, allocations: 134.2 kB / 1.236 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.6686, allocations: 19.91 kB / 1.236 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.669, allocations: 155 kB / 1.236 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.669, allocations: 3.938 kB / 1.236 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.669, allocations: 3.938 kB / 1.236 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.669, allocations: 0 / 1.236 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.6693, allocations: 217.5 kB / 1.236 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.6693, allocations: 7.984 kB / 1.236 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.985e-05/0.6694, allocations: 19.94 kB / 1.236 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6694, allocations: 4 kB / 1.236 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.6694, allocations: 4 kB / 1.236 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.6694, allocations: 7.922 kB / 1.236 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6694, allocations: 3.984 kB / 1.236 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.6697, allocations: 215 kB / 1.236 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.6698, allocations: 116.9 kB / 1.236 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.6698, allocations: 0 / 1.236 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.67, allocations: 27.86 kB / 1.236 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.6701, allocations: 7.984 kB / 1.236 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.6701, allocations: 15.98 kB / 1.236 GB, free: 496 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.837e-05/0.6702, allocations: 119.9 kB / 1.237 GB, free: 376 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6702, allocations: 0 / 1.237 GB, free: 376 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003727/0.6706, allocations: 75.88 kB / 1.237 GB, free: 300 kB / 0.9512 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.0007906/0.6714, allocations: 0.83 MB / 1.237 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.6716, allocations: 124.5 kB / 1.238 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6717, allocations: 4 kB / 1.238 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.6717, allocations: 43.92 kB / 1.238 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.6722, allocations: 51.83 kB / 1.238 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.6744, allocations: 2.032 MB / 1.24 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.6748, allocations: 0.7168 MB / 1.24 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.6749, allocations: 49.73 kB / 1.24 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/0.675, allocations: 43.42 kB / 1.24 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.675, allocations: 4 kB / 1.24 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.7014, allocations: 5.187 MB / 1.246 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.502, allocations: 4 kB / 1.246 GB, free: 7.121 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches