Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001123/0.001123, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 194 kB / 16.53 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.2 MB / 0.6647 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/0.5582, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003747/0.5619, allocations: 3.27 MB / 0.9529 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.376e-05/0.562, allocations: 64.25 kB / 0.953 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/0.5621, allocations: 0 / 0.953 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.755e-05/0.5622, allocations: 4 kB / 0.953 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-05/0.5622, allocations: 10.83 kB / 0.953 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.5627, allocations: 186.4 kB / 0.9532 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.5627, allocations: 37.05 kB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.5628, allocations: 9.406 kB / 0.9532 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.398e-05/0.5628, allocations: 13.17 kB / 0.9532 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.5629, allocations: 10.77 kB / 0.9532 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.5629, allocations: 1.156 kB / 0.9532 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.5632, allocations: 171.3 kB / 0.9534 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.5632, allocations: 10.72 kB / 0.9534 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.5633, allocations: 7.891 kB / 0.9534 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.5635, allocations: 140.3 kB / 0.9535 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5635, allocations: 4 kB / 0.9535 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5635, allocations: 0 / 0.9535 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.5636, allocations: 0 / 0.9535 GB, free: 6.152 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002833/0.5638, allocations: 352.4 kB / 0.9539 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.5639, allocations: 9.344 kB / 0.9539 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.692e-05/0.5639, allocations: 32.31 kB / 0.9539 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.5639, allocations: 2.312 kB / 0.9539 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.942e-05/0.564, allocations: 164.4 kB / 0.9541 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.5641, allocations: 31.55 kB / 0.9541 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.5641, allocations: 6.281 kB / 0.9541 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.5642, allocations: 42.03 kB / 0.9542 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.5642, allocations: 5.344 kB / 0.9542 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.5642, allocations: 0 / 0.9542 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.5642, allocations: 1.469 kB / 0.9542 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.5643, allocations: 13.36 kB / 0.9542 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.5647, allocations: 0.5845 MB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.888e-05/0.5648, allocations: 17.11 kB / 0.9548 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.5648, allocations: 4.859 kB / 0.9548 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.5649, allocations: 346.4 kB / 0.9551 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.565, allocations: 39.95 kB / 0.9551 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.565, allocations: 0 / 0.9551 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.5651, allocations: 35.89 kB / 0.9552 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.5651, allocations: 55.44 kB / 0.9552 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.5652, allocations: 108.4 kB / 0.9553 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.5652, allocations: 25.7 kB / 0.9554 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.5652, allocations: 85.48 kB / 0.9554 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-06/0.5652, allocations: 5.469 kB / 0.9554 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.5652, allocations: 12.69 kB / 0.9555 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.5653, allocations: 320.2 kB / 0.9558 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.5653, allocations: 10.88 kB / 0.9558 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.5653, allocations: 17.28 kB / 0.9558 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/0.5654, allocations: 24.73 kB / 0.9558 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5654, allocations: 0 / 0.9558 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.698e-05/0.5654, allocations: 46.64 kB / 0.9559 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5655, allocations: 5.562 kB / 0.9559 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.5655, allocations: 4.062 kB / 0.9559 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.5655, allocations: 4.922 kB / 0.9559 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.265e-05/0.5655, allocations: 12.45 kB / 0.9559 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.5655, allocations: 5.094 kB / 0.9559 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.5656, allocations: 5.375 kB / 0.9559 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.5656, allocations: 1.438 kB / 0.9559 GB, free: 3.52 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 4.226e-05/0.5656, allocations: 112.7 kB / 0.956 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.5657, allocations: 1.094 kB / 0.956 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.6e-05/0.5657, allocations: 129.7 kB / 0.9561 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.5658, allocations: 177.5 kB / 0.9563 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/0.5658, allocations: 181.5 kB / 0.9565 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.5658, allocations: 177.2 kB / 0.9566 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.5659, allocations: 412.6 kB / 0.957 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.566, allocations: 112.9 kB / 0.9571 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.566, allocations: 102.2 kB / 0.9572 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.026e-05/0.566, allocations: 181.2 kB / 0.9574 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.566, allocations: 181.5 kB / 0.9576 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-05/0.566, allocations: 177.6 kB / 0.9577 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.025e-05/0.5661, allocations: 185.8 kB / 0.9579 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.165e-05/0.5661, allocations: 315.7 kB / 0.9582 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.5662, allocations: 179.6 kB / 0.9584 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.47e-05/0.5662, allocations: 181.6 kB / 0.9586 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.5663, allocations: 111.7 kB / 0.9587 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.5664, allocations: 180.3 kB / 0.9588 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.5664, allocations: 106.1 kB / 0.959 GB, free: 200 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.827e-05/0.5664, allocations: 88.2 kB / 0.959 GB, free: 116 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5664, allocations: 0 / 0.959 GB, free: 116 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002712/0.5667, allocations: 36.28 kB / 0.9591 GB, free: 104 kB / 0.7169 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 (0): * Single equations (assignments): 0 * 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.0004411/0.5671, allocations: 0.8578 MB / 0.9599 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.658e-05/0.5672, allocations: 18.69 kB / 0.9599 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5672, allocations: 0 / 0.9599 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.5672, allocations: 1.344 kB / 0.9599 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.5676, allocations: 468.6 kB / 0.9604 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.5686, allocations: 1.339 MB / 0.9617 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.5688, allocations: 0.6802 MB / 0.9623 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.317e-05/0.5689, allocations: 5.125 kB / 0.9623 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.5689, allocations: 9.094 kB / 0.9624 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of SimCode: time 1.673e-06/0.5689, allocations: 0 / 0.9624 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.5869, allocations: 2.133 MB / 0.9644 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.647, allocations: 17.62 kB / 0.9645 GB, free: 11.59 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches