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.001235/0.001235, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001225/0.001225, allocations: 195.4 kB / 16.25 MB, free: 6.633 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.187/1.187, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.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.3/2.3, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.89 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5506/0.5518, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003998/0.5558, allocations: 3.341 MB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 7.836e-05/0.5559, allocations: 59.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.5559, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.529e-05/0.556, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.034e-05/0.5561, allocations: 11.92 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.5565, allocations: 181.8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.374e-05/0.5566, allocations: 23.92 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.642e-05/0.5566, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.24e-05/0.5567, allocations: 19.98 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.5567, allocations: 15.86 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.5567, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.557, allocations: 179.5 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.5571, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.5571, allocations: 11.98 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.5573, allocations: 134 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.5573, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5573, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.5574, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 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.0003222/0.5577, allocations: 351.4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.5577, allocations: 8.031 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.5578, allocations: 42.73 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.5578, allocations: 4.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.57e-05/0.5579, allocations: 160.4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.5579, allocations: 26.27 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.5579, allocations: 16 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.5581, allocations: 37.69 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.5581, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.5581, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.5581, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.5581, allocations: 27.91 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.5587, allocations: 0.5832 MB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.297e-05/0.5587, allocations: 22.52 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.169e-05/0.5587, allocations: 4.859 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.5589, allocations: 340.5 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.559, allocations: 42.56 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.559, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001132/0.5591, allocations: 29.7 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.5591, allocations: 51.41 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.5592, allocations: 113.7 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.5592, allocations: 25.7 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.5592, allocations: 84.05 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-06/0.5593, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.5593, allocations: 21.83 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.5594, allocations: 318.8 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.5594, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.5594, allocations: 21.7 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.5595, allocations: 17.72 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5595, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.961e-05/0.5596, allocations: 53.62 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5596, allocations: 8 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5596, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.5596, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-05/0.5596, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5596, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.5597, allocations: 11.84 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.5597, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 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 6.525e-05/0.5597, allocations: 122.4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.5598, allocations: 7.922 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.209e-05/0.5599, allocations: 113 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/0.5599, allocations: 176.3 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.275e-05/0.56, allocations: 184.2 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.692e-05/0.56, allocations: 180.2 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.5602, allocations: 417.1 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/0.5603, allocations: 101 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.5603, allocations: 109 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.775e-05/0.5603, allocations: 180.2 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.5604, allocations: 176.3 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-05/0.5605, allocations: 188.2 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.556e-05/0.5605, allocations: 180.3 kB / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.5606, allocations: 307.7 kB / 1.025 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.5607, allocations: 182.1 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.5607, allocations: 184.1 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.5609, allocations: 109 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.5609, allocations: 184.2 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.561, allocations: 109.3 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.561, allocations: 79.28 kB / 1.026 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.561, allocations: 0 / 1.026 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002609/0.5613, allocations: 39.88 kB / 1.026 GB, free: 8.422 MB / 0.7794 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.0004412/0.5617, allocations: 0.8769 MB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.678e-05/0.5618, allocations: 4 kB / 1.027 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5618, allocations: 0 / 1.027 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-06/0.5618, allocations: 11.98 kB / 1.027 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.5622, allocations: 469 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/0.563, allocations: 1.344 MB / 1.029 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.5632, allocations: 0.6729 MB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.5633, allocations: 9.547 kB / 1.03 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.5633, allocations: 11.44 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5633, allocations: 0 / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3541/0.9174, allocations: 2.041 MB / 1.032 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003715/0.9178, allocations: 273.9 kB / 1.032 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.527, allocations: 0 / 1.032 GB, free: 2.766 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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