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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00689/0.00689, allocations: 102.8 kB / 15.73 MB, free: 6.492 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.001679/0.001679, allocations: 191.8 kB / 16.67 MB, free: 6.379 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.956/2.956, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 71.83 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3277, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.007074/0.3349, allocations: 3.288 MB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000164/0.3351, allocations: 51.86 kB / 1.211 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.3351, allocations: 0 / 1.211 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.3353, allocations: 3.938 kB / 1.211 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.3354, allocations: 19.91 kB / 1.211 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.3362, allocations: 175.3 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3363, allocations: 35.84 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.3364, allocations: 7.984 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.899e-05/0.3364, allocations: 11.98 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.717e-05/0.3365, allocations: 15.92 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3365, allocations: 0 / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.337, allocations: 171.5 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.337, allocations: 11.97 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.979e-05/0.3371, allocations: 11.94 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.3374, allocations: 129.5 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3374, allocations: 0 / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3374, allocations: 4 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.3375, allocations: 0 / 1.211 GB, free: 6.203 MB / 0.9669 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.0004755/0.3379, allocations: 351.4 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.338, allocations: 11.97 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.338, allocations: 42.69 kB / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.3381, allocations: 4.938 kB / 1.212 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.3382, allocations: 164.3 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/0.3383, allocations: 26.27 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.3383, allocations: 8.125 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3385, allocations: 45.66 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3385, allocations: 0 / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3385, allocations: 4 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.3385, allocations: 3.984 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.76e-05/0.3386, allocations: 19.98 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007065/0.3393, allocations: 0.5833 MB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.188e-05/0.3394, allocations: 18.58 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.3394, allocations: 4.859 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.3396, allocations: 336.5 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.3397, allocations: 42.56 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3397, allocations: 0 / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001752/0.3399, allocations: 37.62 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3399, allocations: 51.41 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.34, allocations: 105.8 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3401, allocations: 25.7 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.3401, allocations: 84.12 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.3401, allocations: 3.906 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.3402, allocations: 21.84 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3403, allocations: 318.8 kB / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.3403, allocations: 3.984 kB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.3404, allocations: 17.72 kB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.632e-05/0.3404, allocations: 25.66 kB / 1.213 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3404, allocations: 0 / 1.213 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.76e-05/0.3405, allocations: 49.69 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3405, allocations: 4 kB / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3405, allocations: 7.938 kB / 1.213 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3406, allocations: 0 / 1.213 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.3406, allocations: 4 kB / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.3406, allocations: 7.922 kB / 1.213 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.3407, allocations: 7.938 kB / 1.213 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3407, allocations: 0 / 1.213 GB, free: 3.402 MB / 0.9669 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 9.595e-05/0.3408, allocations: 117.8 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.3408, allocations: 7.906 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.3409, allocations: 121 kB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-05/0.341, allocations: 180.2 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-05/0.3411, allocations: 180.3 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.829e-05/0.3412, allocations: 180.2 kB / 1.214 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.3414, allocations: 413.1 kB / 1.215 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.604e-05/0.3415, allocations: 105 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.3415, allocations: 108.9 kB / 1.215 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.691e-05/0.3416, allocations: 180.2 kB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.3417, allocations: 176.3 kB / 1.215 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.113e-05/0.3418, allocations: 188.2 kB / 1.215 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-05/0.3418, allocations: 180.3 kB / 1.216 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.342, allocations: 311.7 kB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.3421, allocations: 182 kB / 1.216 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.3422, allocations: 176.3 kB / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.3424, allocations: 117 kB / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.3425, allocations: 180.2 kB / 1.216 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.3425, allocations: 105 kB / 1.217 GB, free: 48 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.116e-05/0.3426, allocations: 83.28 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3426, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003109/0.3429, allocations: 43.92 kB / 1.217 GB, free: 15.92 MB / 0.9825 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.0007464/0.3437, allocations: 0.8734 MB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.3438, allocations: 8 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3438, allocations: 3.938 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.3438, allocations: 0 / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.3443, allocations: 459.6 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.3455, allocations: 1.34 MB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.3457, allocations: 0.6729 MB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.421e-05/0.3458, allocations: 10.66 kB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.3458, allocations: 7.438 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of SimCode: time 4.4e-07/0.3459, allocations: 4 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.3672, allocations: 2.161 MB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/8.013, allocations: 8.344 kB / 1.222 GB, free: 10.45 MB / 0.9825 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