Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.0008882/0.0008883, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004824/0.004824, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.392/2.392, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002883, allocations: 9.344 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2442, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003303/0.2475, allocations: 3.006 MB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 8.329e-05/0.2477, allocations: 51.86 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.437e-05/0.2477, allocations: 0 / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.158e-05/0.2478, allocations: 4 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.2478, allocations: 15.91 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.2483, allocations: 174.1 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.406e-05/0.2484, allocations: 59.81 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.109e-05/0.2485, allocations: 0 / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.2485, allocations: 12 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.2486, allocations: 19.91 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.2486, allocations: 4 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.2489, allocations: 171.5 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.249, allocations: 11.97 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.249, allocations: 33.64 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.2492, allocations: 136 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2492, allocations: 0 / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2493, allocations: 0 / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.706e-06/0.2493, allocations: 0 / 1.062 GB, free: 1.156 MB / 0.8106 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.0003129/0.2496, allocations: 339.5 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2496, allocations: 15.97 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.2497, allocations: 30.75 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.2497, allocations: 4.875 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.45e-05/0.2498, allocations: 168.4 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.2499, allocations: 26.27 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.2499, allocations: 4.125 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.25, allocations: 45.69 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.25, allocations: 3.938 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.25, allocations: 4 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.25, allocations: 3.938 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.076e-05/0.2501, allocations: 15.98 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.2506, allocations: 0.591 MB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.961e-05/0.2507, allocations: 14.58 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.2507, allocations: 12.92 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.2509, allocations: 344.4 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.2509, allocations: 34.5 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2509, allocations: 0 / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.2511, allocations: 37.7 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.2511, allocations: 51.41 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.2512, allocations: 101.8 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.2512, allocations: 29.7 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.2512, allocations: 92.17 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-06/0.2512, allocations: 0 / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.2513, allocations: 9.719 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.2513, allocations: 322.8 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.2514, allocations: 4 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.2514, allocations: 17.66 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.2514, allocations: 25.72 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2514, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.251e-05/0.2515, allocations: 49.62 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2515, allocations: 4 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2515, allocations: 4 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.2515, allocations: 3.938 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.176e-05/0.2516, allocations: 7.984 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.2516, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.2516, allocations: 11.84 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2516, allocations: 0 / 1.065 GB, free: 14.37 MB / 0.8262 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 5.872e-05/0.2517, allocations: 113.8 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.2517, allocations: 4 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.61e-05/0.2518, allocations: 128.9 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/0.2519, allocations: 176.3 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.511e-05/0.2519, allocations: 180.2 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-05/0.252, allocations: 180.3 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.2522, allocations: 409.2 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/0.2522, allocations: 104.9 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.2522, allocations: 109 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.773e-05/0.2523, allocations: 180.2 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.2524, allocations: 180.3 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.226e-05/0.2524, allocations: 176.3 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.821e-05/0.2524, allocations: 188.4 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.2526, allocations: 311.7 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.2526, allocations: 186 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.2527, allocations: 188.2 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2528, allocations: 108.9 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.2529, allocations: 184.3 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.2529, allocations: 104.9 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.253, allocations: 87.27 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.253, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002521/0.2532, allocations: 35.94 kB / 1.068 GB, free: 10.89 MB / 0.8262 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.0004296/0.2537, allocations: 0.8698 MB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.077e-05/0.2537, allocations: 7.938 kB / 1.069 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2537, allocations: 0 / 1.069 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.2538, allocations: 3.938 kB / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.2541, allocations: 0.5321 MB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008239/0.255, allocations: 1.33 MB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.2552, allocations: 0.6731 MB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.2552, allocations: 8 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.2552, allocations: 13.31 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of SimCode: time 1.472e-06/0.2552, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/0.3783, allocations: 1.96 MB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.3785, allocations: 269.3 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/1.877, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches