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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0011/0.0011, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 437 MB / 0.71 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/0.5392, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00436/0.5436, allocations: 3.359 MB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 8.384e-05/0.5437, allocations: 55.84 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.374e-05/0.5437, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.597e-05/0.5438, allocations: 3.938 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.219e-05/0.5439, allocations: 7.984 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.5443, allocations: 179.1 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.5444, allocations: 51.83 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.908e-05/0.5444, allocations: 7.984 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.5445, allocations: 15.98 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.5445, allocations: 15.92 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.5446, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.5449, allocations: 175.5 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.5449, allocations: 8 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.545, allocations: 15.92 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.5452, allocations: 130 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5452, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5453, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.5453, allocations: 0 / 1.021 GB, free: 14.75 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.0003463/0.5456, allocations: 347.5 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.5457, allocations: 8.031 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.5457, allocations: 30.75 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.5457, allocations: 4.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.5459, allocations: 172.4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.5459, allocations: 30.2 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.5459, allocations: 4.125 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.5461, allocations: 45.62 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.5461, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.5461, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.5461, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.562e-05/0.5462, allocations: 19.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.5467, allocations: 0.5832 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.392e-05/0.5468, allocations: 18.58 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.5468, allocations: 12.86 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/0.547, allocations: 336.4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.5471, allocations: 34.55 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.5471, allocations: 4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.5472, allocations: 41.69 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.5473, allocations: 51.41 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.5473, allocations: 109.8 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.5474, allocations: 25.7 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.5474, allocations: 84.05 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.5474, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.5474, allocations: 17.72 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5476, allocations: 326.9 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.5476, allocations: 3.938 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.33e-05/0.5476, allocations: 13.72 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.5476, allocations: 29.64 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5477, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.692e-05/0.5477, allocations: 49.55 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5478, allocations: 8.062 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5478, allocations: 8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.5478, allocations: 3.984 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.953e-05/0.5478, allocations: 4 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.5478, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.5479, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.5479, allocations: 4 kB / 1.023 GB, free: 11.96 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.884e-05/0.5479, allocations: 114.3 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.548, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.726e-05/0.5481, allocations: 126.7 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.596e-05/0.5482, allocations: 176.3 kB / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.95e-05/0.5482, allocations: 180.2 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-05/0.5483, allocations: 180.3 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.5485, allocations: 417.1 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-05/0.5485, allocations: 105 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.5486, allocations: 109 kB / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.192e-05/0.5486, allocations: 184.1 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.96e-05/0.5487, allocations: 176.3 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.058e-05/0.5488, allocations: 180.2 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.687e-05/0.5488, allocations: 184.3 kB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.549, allocations: 311.7 kB / 1.025 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.549, allocations: 178.1 kB / 1.025 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.435e-05/0.5491, allocations: 180.2 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.5493, allocations: 109 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.5493, allocations: 184.3 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.5494, allocations: 108.9 kB / 1.026 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.5494, allocations: 83.27 kB / 1.026 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5494, allocations: 0 / 1.026 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002778/0.5497, allocations: 43.88 kB / 1.026 GB, free: 8.484 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.0004988/0.5502, allocations: 0.8675 MB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.654e-05/0.5503, allocations: 11.94 kB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5503, allocations: 0 / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.5503, allocations: 4 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.5507, allocations: 0.5263 MB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009464/0.5517, allocations: 1.334 MB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.5519, allocations: 0.6731 MB / 1.029 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.042e-05/0.552, allocations: 9.828 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.552, allocations: 11.44 kB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.552, allocations: 0 / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/0.656, allocations: 2.013 MB / 1.031 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/0.6563, allocations: 258.4 kB / 1.032 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.457, allocations: 10.12 kB / 1.032 GB, free: 2.785 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