Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.005466/0.005466, allocations: 102 kB / 15.73 MB, free: 6.062 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.0016/0.0016, allocations: 192 kB / 16.67 MB, free: 5.973 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.16 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.789/2.789, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.91 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6296/0.6316, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01647/0.6481, allocations: 12.97 MB / 1.233 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003057/0.6512, allocations: 2.663 MB / 1.235 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.6513, allocations: 8 kB / 1.235 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.6515, allocations: 39.69 kB / 1.236 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.6518, allocations: 99.34 kB / 1.236 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.6529, allocations: 0.5018 MB / 1.236 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.6532, allocations: 239.9 kB / 1.236 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.6532, allocations: 5.562 kB / 1.236 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008206/0.6615, allocations: 3.583 MB / 1.24 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.6616, allocations: 87.66 kB / 1.24 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.6617, allocations: 11.94 kB / 1.24 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.664, allocations: 1.091 MB / 1.241 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.6641, allocations: 39.83 kB / 1.241 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.6642, allocations: 83.66 kB / 1.241 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.6648, allocations: 366.7 kB / 1.241 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6648, allocations: 4 kB / 1.241 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6648, allocations: 0 / 1.241 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6648, allocations: 0 / 1.241 GB, free: 12.16 MB / 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.0007382/0.6656, allocations: 0.5064 MB / 1.242 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.6656, allocations: 12.03 kB / 1.242 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/0.6657, allocations: 50.73 kB / 1.242 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.6659, allocations: 20.84 kB / 1.242 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.6662, allocations: 216.1 kB / 1.242 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.6662, allocations: 12.7 kB / 1.242 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.6662, allocations: 20.38 kB / 1.242 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.6666, allocations: 248 kB / 1.243 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6666, allocations: 0 / 1.243 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.6667, allocations: 12 kB / 1.243 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.6667, allocations: 4 kB / 1.243 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005419/0.6673, allocations: 432.1 kB / 1.243 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.6685, allocations: 0.9567 MB / 1.244 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.6688, allocations: 168.7 kB / 1.244 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.6689, allocations: 56.89 kB / 1.244 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/0.6706, allocations: 1.844 MB / 1.246 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.6706, allocations: 30.56 kB / 1.246 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.6706, allocations: 0 / 1.246 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.000345/0.671, allocations: 149.4 kB / 1.246 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.671, allocations: 51.41 kB / 1.246 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.6712, allocations: 175.2 kB / 1.246 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.6712, allocations: 33.7 kB / 1.246 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/0.6713, allocations: 148.1 kB / 1.246 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.6714, allocations: 55.53 kB / 1.247 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.6714, allocations: 53.66 kB / 1.247 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6716, allocations: 322.8 kB / 1.247 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/0.6717, allocations: 31.98 kB / 1.247 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.6718, allocations: 146.2 kB / 1.247 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.6721, allocations: 200 kB / 1.247 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.6721, allocations: 4 kB / 1.247 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003498/0.6725, allocations: 209.3 kB / 1.247 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.6725, allocations: 8 kB / 1.247 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6725, allocations: 4 kB / 1.247 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.6725, allocations: 11.88 kB / 1.247 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.6727, allocations: 55.92 kB / 1.248 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.6727, allocations: 7.938 kB / 1.248 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.6729, allocations: 32.2 kB / 1.248 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.6729, allocations: 23.98 kB / 1.248 GB, free: 5.172 MB / 0.9669 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.0001114/0.673, allocations: 129.7 kB / 1.248 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.6731, allocations: 15.94 kB / 1.248 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.6734, allocations: 162.4 kB / 1.248 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.6734, allocations: 11.88 kB / 1.248 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6734, allocations: 0 / 1.248 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6734, allocations: 7.922 kB / 1.248 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.6737, allocations: 209.6 kB / 1.248 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6737, allocations: 4 kB / 1.248 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.6738, allocations: 27.98 kB / 1.248 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.6738, allocations: 0 / 1.248 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.6738, allocations: 4 kB / 1.248 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.6738, allocations: 3.938 kB / 1.248 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6738, allocations: 0 / 1.248 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.6741, allocations: 227.4 kB / 1.248 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.6742, allocations: 109 kB / 1.248 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.6743, allocations: 3.984 kB / 1.248 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.6745, allocations: 19.94 kB / 1.248 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.6745, allocations: 7.984 kB / 1.248 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.6746, allocations: 15.98 kB / 1.248 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001013/0.6747, allocations: 116 kB / 1.249 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6747, allocations: 0 / 1.249 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003873/0.6751, allocations: 83.8 kB / 1.249 GB, free: 3.941 MB / 0.9669 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.0007651/0.6758, allocations: 0.8337 MB / 1.25 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.6761, allocations: 119.8 kB / 1.25 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6761, allocations: 0 / 1.25 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.043e-05/0.6762, allocations: 43.08 kB / 1.25 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.6766, allocations: 64.75 kB / 1.25 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.679, allocations: 2.058 MB / 1.252 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.6793, allocations: 0.709 MB / 1.252 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.6795, allocations: 49.73 kB / 1.252 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.6796, allocations: 47.36 kB / 1.253 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.6796, allocations: 0 / 1.253 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.7065, allocations: 5.488 MB / 1.258 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.432, allocations: 2.062 kB / 1.258 GB, free: 10.46 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_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_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches