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: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_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.005562/0.005562, allocations: 101 kB / 15.73 MB, free: 6.055 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.002137/0.002137, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.547/2.547, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 64.08 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.8606, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007069/0.8677, allocations: 4.434 MB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003208/0.8709, allocations: 2.683 MB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.871, allocations: 8 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.8713, allocations: 43.67 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.8716, allocations: 95.41 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.8728, allocations: 0.4896 MB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.8731, allocations: 239.9 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.8732, allocations: 9.562 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009698/0.8742, allocations: 415.8 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.8743, allocations: 87.61 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.8743, allocations: 8 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009776/0.8753, allocations: 0.4951 MB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.8754, allocations: 39.89 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.207e-05/0.8755, allocations: 75.66 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.8761, allocations: 358.5 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8761, allocations: 0 / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8761, allocations: 0 / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8761, allocations: 0 / 1.175 GB, free: 10.29 MB / 0.9044 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.0007534/0.8769, allocations: 0.5025 MB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.8769, allocations: 12.92 kB / 1.176 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.296e-05/0.877, allocations: 54.73 kB / 1.176 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.8772, allocations: 20.84 kB / 1.176 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.8775, allocations: 204.2 kB / 1.176 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.8775, allocations: 16.7 kB / 1.176 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.8775, allocations: 12.38 kB / 1.176 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.8779, allocations: 248.9 kB / 1.176 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.878, allocations: 0 / 1.176 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.878, allocations: 12 kB / 1.176 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.878, allocations: 4 kB / 1.176 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.8785, allocations: 435.4 kB / 1.177 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.8797, allocations: 1.012 MB / 1.178 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.88, allocations: 161.6 kB / 1.178 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.8801, allocations: 60.88 kB / 1.178 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/0.8817, allocations: 1.833 MB / 1.18 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.8817, allocations: 38.5 kB / 1.18 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.8817, allocations: 0 / 1.18 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0003445/0.8821, allocations: 145.5 kB / 1.18 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.8821, allocations: 51.41 kB / 1.18 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.8823, allocations: 171.2 kB / 1.18 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.8823, allocations: 33.7 kB / 1.18 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.8824, allocations: 140.1 kB / 1.18 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.8825, allocations: 59.48 kB / 1.18 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.8826, allocations: 45.7 kB / 1.181 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8827, allocations: 330.8 kB / 1.181 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.8828, allocations: 39.97 kB / 1.181 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.883, allocations: 137.7 kB / 1.181 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.8832, allocations: 203.9 kB / 1.181 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8832, allocations: 0 / 1.181 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003582/0.8836, allocations: 221.1 kB / 1.181 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8836, allocations: 8 kB / 1.181 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.8836, allocations: 4 kB / 1.181 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.8837, allocations: 11.88 kB / 1.181 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.8838, allocations: 52.39 kB / 1.181 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.8839, allocations: 11.92 kB / 1.182 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.884, allocations: 31.84 kB / 1.182 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.884, allocations: 15.94 kB / 1.182 GB, free: 3.258 MB / 0.9044 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.0001181/0.8841, allocations: 129.7 kB / 1.182 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.8842, allocations: 15.91 kB / 1.182 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.8845, allocations: 155.8 kB / 1.182 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.8845, allocations: 7.922 kB / 1.182 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8845, allocations: 4 kB / 1.182 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.8846, allocations: 4 kB / 1.182 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.8848, allocations: 217.5 kB / 1.182 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8849, allocations: 0 / 1.182 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.885, allocations: 27.92 kB / 1.182 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.885, allocations: 0 / 1.182 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.885, allocations: 4 kB / 1.182 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.885, allocations: 7.938 kB / 1.182 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.885, allocations: 0 / 1.182 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.8853, allocations: 218 kB / 1.182 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.8854, allocations: 112.9 kB / 1.182 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.8854, allocations: 0 / 1.182 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.8856, allocations: 19.92 kB / 1.182 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.8856, allocations: 11.98 kB / 1.182 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.8857, allocations: 11.98 kB / 1.182 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.549e-05/0.8858, allocations: 128.8 kB / 1.183 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8858, allocations: 0 / 1.183 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003733/0.8862, allocations: 71.88 kB / 1.183 GB, free: 2.035 MB / 0.9044 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.0007639/0.8869, allocations: 0.8448 MB / 1.183 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.8872, allocations: 123.1 kB / 1.184 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8872, allocations: 0 / 1.184 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.314e-05/0.8873, allocations: 43.92 kB / 1.184 GB, free: 1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.8877, allocations: 59.83 kB / 1.184 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.8901, allocations: 2.033 MB / 1.186 GB, free: 14.74 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.8905, allocations: 0.7168 MB / 1.186 GB, free: 14 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.8906, allocations: 41.75 kB / 1.186 GB, free: 13.95 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.8907, allocations: 47.42 kB / 1.186 GB, free: 13.91 MB / 0.92 GB Notification: Performance of SimCode: time 3.21e-07/0.8907, allocations: 0 / 1.186 GB, free: 13.91 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.9183, allocations: 5.195 MB / 1.192 GB, free: 8.844 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/9, allocations: 8 kB / 1.192 GB, free: 8.836 MB / 0.92 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv","/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