Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.00691/0.00691, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001748/0.001748, allocations: 193 kB / 16.67 MB, free: 5.934 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.12 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.42/2.42, allocations: 437.1 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6542/0.6555, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005161/0.6607, allocations: 4.058 MB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.6632, allocations: 2.426 MB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.6633, allocations: 0 / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.6636, allocations: 55.67 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.6638, allocations: 103.3 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.665, allocations: 0.5367 MB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000292/0.6653, allocations: 259.8 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.6653, allocations: 9.562 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.6655, allocations: 115.6 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.6656, allocations: 91.66 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.6657, allocations: 8 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007662/0.6665, allocations: 463.2 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.6665, allocations: 39.84 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.6666, allocations: 83.64 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.6672, allocations: 410.5 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6673, allocations: 0 / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6673, allocations: 0 / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6673, allocations: 4 kB / 1.175 GB, free: 11.15 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.000697/0.668, allocations: 0.5141 MB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.668, allocations: 8.922 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.6681, allocations: 58.73 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.67, allocations: 176.6 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.6703, allocations: 208.1 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.6703, allocations: 12.7 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.6704, allocations: 16.38 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/0.671, allocations: 300.2 kB / 1.176 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.671, allocations: 0 / 1.176 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.6711, allocations: 11.98 kB / 1.176 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.6711, allocations: 8 kB / 1.176 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.6718, allocations: 263.5 kB / 1.176 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.6734, allocations: 1.385 MB / 1.178 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/0.674, allocations: 192 kB / 1.178 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.6743, allocations: 92.75 kB / 1.178 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.6743, allocations: 3.984 kB / 1.178 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.6743, allocations: 34.56 kB / 1.178 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.6743, allocations: 0 / 1.178 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0007833/0.6751, allocations: 251.9 kB / 1.178 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.6752, allocations: 59.28 kB / 1.178 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.6753, allocations: 160.9 kB / 1.178 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.6753, allocations: 29.7 kB / 1.178 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.6754, allocations: 132.2 kB / 1.178 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.6754, allocations: 63.47 kB / 1.178 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.884e-05/0.6755, allocations: 49.89 kB / 1.179 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.6756, allocations: 330.8 kB / 1.179 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.6759, allocations: 68.41 kB / 1.179 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.6761, allocations: 138.3 kB / 1.179 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.6766, allocations: 213.3 kB / 1.179 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6766, allocations: 3.938 kB / 1.179 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005875/0.6772, allocations: 251.9 kB / 1.179 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6772, allocations: 4 kB / 1.179 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.6772, allocations: 4 kB / 1.179 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6773, allocations: 4 kB / 1.179 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.6776, allocations: 72.2 kB / 1.18 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6776, allocations: 7.938 kB / 1.18 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.6779, allocations: 27.83 kB / 1.18 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.6779, allocations: 12 kB / 1.18 GB, free: 5.66 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.000105/0.678, allocations: 137.6 kB / 1.18 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.6781, allocations: 15.91 kB / 1.18 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.6787, allocations: 232.9 kB / 1.18 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6787, allocations: 0 / 1.18 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6787, allocations: 0 / 1.18 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.6788, allocations: 3.984 kB / 1.18 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.679, allocations: 241.5 kB / 1.18 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.679, allocations: 0 / 1.18 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.6793, allocations: 55.83 kB / 1.18 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6794, allocations: 0 / 1.18 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.6794, allocations: 4 kB / 1.18 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6794, allocations: 8 kB / 1.18 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6794, allocations: 4 kB / 1.18 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.6799, allocations: 301.5 kB / 1.181 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.6801, allocations: 104.9 kB / 1.181 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.6801, allocations: 4 kB / 1.181 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.6804, allocations: 19.98 kB / 1.181 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.6804, allocations: 15.92 kB / 1.181 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.6804, allocations: 11.98 kB / 1.181 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.194e-05/0.6805, allocations: 107.3 kB / 1.181 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6805, allocations: 0 / 1.181 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003546/0.6809, allocations: 67.92 kB / 1.181 GB, free: 4.254 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0008693/0.6817, allocations: 0.8671 MB / 1.182 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005231/0.6823, allocations: 179.7 kB / 1.182 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6823, allocations: 0 / 1.182 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.6826, allocations: 98.34 kB / 1.182 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.683, allocations: 56.5 kB / 1.182 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.686, allocations: 2.171 MB / 1.184 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.6863, allocations: 0.7173 MB / 1.185 GB, free: 15.98 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002686/0.6866, allocations: 53.92 kB / 1.185 GB, free: 15.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.6867, allocations: 43.42 kB / 1.185 GB, free: 15.89 MB / 0.92 GB Notification: Performance of SimCode: time 2.7e-07/0.6867, allocations: 0 / 1.185 GB, free: 15.89 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.7072, allocations: 5.219 MB / 1.19 GB, free: 10.86 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/8.223, allocations: 14.19 kB / 1.19 GB, free: 10.84 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_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_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches