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.00166/0.00166, 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.001853/0.001853, allocations: 196 kB / 16.14 MB, free: 6.711 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.509/2.509, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 65.56 kB / 0.8985 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2265, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003929/0.2304, allocations: 3.349 MB / 1.055 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 7.925e-05/0.2305, allocations: 59.78 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.28e-05/0.2305, allocations: 0 / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.974e-05/0.2306, allocations: 4 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.756e-05/0.2307, allocations: 11.92 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.2311, allocations: 179.3 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.216e-05/0.2312, allocations: 51.89 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.686e-05/0.2312, allocations: 4 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.231e-05/0.2312, allocations: 23.84 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.201e-05/0.2313, allocations: 8 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.2313, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.2316, allocations: 171.5 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.2317, allocations: 7.984 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.2317, allocations: 11.94 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.2319, allocations: 132 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2319, allocations: 7.938 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.81e-07/0.2319, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2319, allocations: 0 / 1.056 GB, free: 4.207 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.000312/0.2323, allocations: 347.5 kB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2323, allocations: 15.97 kB / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.2323, allocations: 38.69 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.2324, allocations: 0.9375 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.894e-05/0.2325, allocations: 164.4 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.2325, allocations: 26.27 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.2325, allocations: 12.11 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.2326, allocations: 45.69 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2326, allocations: 3.984 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2327, allocations: 0 / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2327, allocations: 0 / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.108e-05/0.2327, allocations: 15.98 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.2332, allocations: 0.5871 MB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.279e-05/0.2333, allocations: 22.56 kB / 1.057 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.29e-05/0.2333, allocations: 8.922 kB / 1.057 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.2335, allocations: 340.4 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.2335, allocations: 34.55 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.2335, allocations: 0 / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.2336, allocations: 41.62 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.2337, allocations: 55.53 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.078e-05/0.2337, allocations: 101.9 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2338, allocations: 25.7 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.2338, allocations: 88.03 kB / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.2338, allocations: 0 / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.2338, allocations: 25.66 kB / 1.058 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.2339, allocations: 314.8 kB / 1.058 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.2339, allocations: 4 kB / 1.058 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.234, allocations: 25.7 kB / 1.058 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.234, allocations: 21.66 kB / 1.058 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.234, allocations: 0 / 1.058 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.95e-05/0.2341, allocations: 49.59 kB / 1.058 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.2341, allocations: 4 kB / 1.058 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2341, allocations: 0 / 1.058 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.2341, allocations: 4.062 kB / 1.058 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.739e-05/0.2342, allocations: 11.94 kB / 1.058 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2342, allocations: 4 kB / 1.058 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.2342, allocations: 3.938 kB / 1.058 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.2342, allocations: 7.984 kB / 1.058 GB, free: 1.398 MB / 0.8106 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.787e-05/0.2343, allocations: 113.8 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.2343, allocations: 7.938 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.443e-05/0.2344, allocations: 109 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-05/0.2345, allocations: 196.2 kB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.453e-05/0.2345, allocations: 176.3 kB / 1.059 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.196e-05/0.2345, allocations: 180.2 kB / 1.059 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.2347, allocations: 409.2 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/0.2348, allocations: 101 kB / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.2348, allocations: 108.9 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-05/0.2349, allocations: 180.3 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.2349, allocations: 184.2 kB / 1.06 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.181e-05/0.235, allocations: 176.3 kB / 1.06 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-05/0.235, allocations: 176.3 kB / 1.06 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.2351, allocations: 319.9 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.2352, allocations: 189.9 kB / 1.061 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.2352, allocations: 180.3 kB / 1.061 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2354, allocations: 109 kB / 1.061 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.2354, allocations: 184.2 kB / 1.061 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.2355, allocations: 105 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.2355, allocations: 87.28 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2355, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002548/0.2358, allocations: 35.92 kB / 1.062 GB, free: 13.93 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.0004065/0.2362, allocations: 0.8613 MB / 1.062 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.894e-05/0.2363, allocations: 15.98 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2363, allocations: 128 / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.096e-06/0.2363, allocations: 4 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.2366, allocations: 0.5224 MB / 1.063 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008026/0.2374, allocations: 1.33 MB / 1.064 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.2376, allocations: 0.677 MB / 1.065 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.978e-05/0.2377, allocations: 7.234 kB / 1.065 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.2377, allocations: 15.38 kB / 1.065 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2377, allocations: 0 / 1.065 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/0.3863, allocations: 2.024 MB / 1.067 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.3865, allocations: 264 kB / 1.067 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.033, allocations: 0 / 1.067 GB, free: 8.172 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