Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.007499/0.007499, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.002085/0.002085, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.563/2.563, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.89 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7243, allocations: 151.6 MB / 1.166 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005112/0.7294, allocations: 3.302 MB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 9.861e-05/0.7296, allocations: 51.8 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.7296, allocations: 0 / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.304e-05/0.7297, allocations: 7.938 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.253e-05/0.7298, allocations: 19.91 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.7303, allocations: 176.7 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.7304, allocations: 35.84 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.7304, allocations: 0 / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.109e-05/0.7305, allocations: 23.97 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.7306, allocations: 11.92 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.7306, allocations: 0 / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.731, allocations: 171.6 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.731, allocations: 11.98 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.731, allocations: 7.938 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.7313, allocations: 131.4 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7314, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7314, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.7314, allocations: 0 / 1.17 GB, free: 15.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000432/0.7318, allocations: 351.3 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.7319, allocations: 8.031 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.7319, allocations: 38.75 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.7319, allocations: 0.9375 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.7321, allocations: 164.3 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.7322, allocations: 34.25 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.7322, allocations: 4.125 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.7323, allocations: 45.67 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7323, allocations: 4 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.7324, allocations: 3.938 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.7324, allocations: 7.938 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.7324, allocations: 11.98 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.7331, allocations: 0.5871 MB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 4.238e-05/0.7332, allocations: 22.52 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.7332, allocations: 4.859 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.7335, allocations: 352.5 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.7335, allocations: 30.56 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.7335, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.7337, allocations: 33.69 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.7337, allocations: 59.34 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.7338, allocations: 97.86 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.7338, allocations: 25.7 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.7339, allocations: 96.2 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-06/0.7339, allocations: 0 / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.7339, allocations: 21.67 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7341, allocations: 314.8 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.7341, allocations: 7.984 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.7341, allocations: 17.72 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.7342, allocations: 17.72 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.7342, allocations: 0 / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.246e-05/0.7343, allocations: 49.62 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.7343, allocations: 8 kB / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.7343, allocations: 0 / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.7343, allocations: 0 / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.023e-05/0.7344, allocations: 4 kB / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.7344, allocations: 4 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.7344, allocations: 3.984 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.7344, allocations: 8.062 kB / 1.172 GB, free: 13.08 MB / 0.9044 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 8.725e-05/0.7345, allocations: 121.7 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.7345, allocations: 3.938 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.7347, allocations: 113 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-05/0.7347, allocations: 188.2 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.312e-05/0.7348, allocations: 184.3 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.587e-05/0.7349, allocations: 180.3 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.7352, allocations: 413 kB / 1.173 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.966e-05/0.7353, allocations: 105 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.7353, allocations: 104.9 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.381e-05/0.7354, allocations: 180.2 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.977e-05/0.7355, allocations: 180.4 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001056/0.7356, allocations: 188.2 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.937e-05/0.7357, allocations: 176.3 kB / 1.174 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.7359, allocations: 315.6 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.736, allocations: 186 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.7361, allocations: 184.2 kB / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.7363, allocations: 109 kB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.7364, allocations: 184.2 kB / 1.175 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.7365, allocations: 101 kB / 1.175 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.699e-05/0.7366, allocations: 83.28 kB / 1.175 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7366, allocations: 4 kB / 1.175 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003256/0.7369, allocations: 39.8 kB / 1.176 GB, free: 9.586 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 (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.0006561/0.7376, allocations: 0.8648 MB / 1.176 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.7377, allocations: 15.98 kB / 1.176 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7377, allocations: 0 / 1.176 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.7377, allocations: 0 / 1.176 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.7382, allocations: 463.8 kB / 1.177 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.7394, allocations: 1.329 MB / 1.178 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.7397, allocations: 0.6729 MB / 1.179 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.586e-05/0.7397, allocations: 17.81 kB / 1.179 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.7398, allocations: 7.438 kB / 1.179 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.7398, allocations: 0 / 1.179 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.7627, allocations: 2.174 MB / 1.181 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.523, allocations: 12.27 kB / 1.181 GB, free: 4.102 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches