Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.0014/0.0014, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001294/0.001294, allocations: 192 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.597/2.597, allocations: 469.8 MB / 0.7421 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 67.5 kB / 0.9082 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2484, allocations: 159.2 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004486/0.2529, allocations: 3.328 MB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 8.51e-05/0.253, allocations: 55.8 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.796e-05/0.253, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.347e-05/0.2531, allocations: 4 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.2532, allocations: 19.91 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.2536, allocations: 172.4 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.461e-05/0.2537, allocations: 27.91 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.975e-05/0.2537, allocations: 11.98 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.23e-05/0.2538, allocations: 15.94 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.2538, allocations: 19.91 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.2538, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.2541, allocations: 171.6 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.2542, allocations: 8 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.2542, allocations: 15.91 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.2545, allocations: 136 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2545, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2545, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2545, allocations: 3.938 kB / 1.067 GB, free: 10.54 MB / 0.8262 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.0003725/0.2549, allocations: 343.5 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2549, allocations: 8.031 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.2549, allocations: 38.75 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.255, allocations: 4.875 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2551, allocations: 172.2 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.2552, allocations: 30.27 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.2552, allocations: 4.125 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.2553, allocations: 41.69 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.2553, allocations: 4 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2553, allocations: 3.984 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.2553, allocations: 4 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.976e-05/0.2554, allocations: 11.98 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.256, allocations: 0.5833 MB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.574e-05/0.256, allocations: 22.52 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.2561, allocations: 8.859 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.2563, allocations: 340.5 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2563, allocations: 42.55 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2564, allocations: 0 / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.2565, allocations: 33.64 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.2565, allocations: 55.41 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.2566, allocations: 101.8 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2566, allocations: 29.83 kB / 1.069 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.2567, allocations: 88.05 kB / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/0.2567, allocations: 3.906 kB / 1.069 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.2567, allocations: 17.72 kB / 1.069 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2569, allocations: 318.8 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.2569, allocations: 4 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.2569, allocations: 17.72 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.2569, allocations: 21.7 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2569, allocations: 3.938 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.13e-05/0.257, allocations: 45.7 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.257, allocations: 4 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.2571, allocations: 0 / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2571, allocations: 7.922 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.555e-05/0.2571, allocations: 4 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2571, allocations: 4 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.2571, allocations: 11.94 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.2572, allocations: 0 / 1.07 GB, free: 7.742 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 7.467e-05/0.2572, allocations: 117.8 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.2573, allocations: 0 / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.2574, allocations: 122.8 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.457e-05/0.2574, allocations: 184.1 kB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-05/0.2575, allocations: 188.3 kB / 1.07 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.322e-05/0.2576, allocations: 176.3 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.2578, allocations: 413.1 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.033e-05/0.2579, allocations: 105 kB / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.2579, allocations: 104.9 kB / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.98e-05/0.258, allocations: 180.3 kB / 1.071 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-05/0.2581, allocations: 180.4 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.267e-05/0.2582, allocations: 184.2 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.771e-05/0.2582, allocations: 176.3 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.2584, allocations: 315.6 kB / 1.072 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.2585, allocations: 182.1 kB / 1.072 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.2586, allocations: 184.2 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2587, allocations: 109 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.2588, allocations: 188.2 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.2588, allocations: 101 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.2589, allocations: 87.27 kB / 1.073 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2589, allocations: 4 kB / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002963/0.2592, allocations: 39.94 kB / 1.073 GB, free: 4.258 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.0005277/0.2597, allocations: 0.8714 MB / 1.074 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.232e-05/0.2598, allocations: 12 kB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2598, allocations: 0 / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.2598, allocations: 3.938 kB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.2602, allocations: 467.7 kB / 1.074 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.2612, allocations: 1.324 MB / 1.076 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.2615, allocations: 0.6768 MB / 1.076 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.2615, allocations: 10.11 kB / 1.076 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.2616, allocations: 11.44 kB / 1.076 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2616, allocations: 0 / 1.076 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.518/1.779, allocations: 2.057 MB / 1.078 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/1.78, allocations: 264.2 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/3.726, allocations: 3.125 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches