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.002268/0.002268, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.478/2.478, allocations: 469.8 MB / 0.7424 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 67.86 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2464, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004301/0.2507, allocations: 3.276 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 8.423e-05/0.2508, allocations: 51.84 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.2508, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.928e-05/0.2509, allocations: 7.938 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.251, allocations: 15.92 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.2514, allocations: 187.8 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.712e-05/0.2515, allocations: 27.92 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.87e-05/0.2515, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.2516, allocations: 11.98 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.2516, allocations: 15.86 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2516, allocations: 8 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.252, allocations: 175.5 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.252, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.252, allocations: 11.92 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.2523, allocations: 136 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2523, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2523, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.2523, allocations: 0 / 1.068 GB, free: 10.29 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.0003571/0.2527, allocations: 351.5 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2527, allocations: 16.03 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.99e-05/0.2528, allocations: 34.69 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.2528, allocations: 0.9375 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2529, allocations: 168.3 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.253, allocations: 34.25 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.253, allocations: 4.125 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.2531, allocations: 41.69 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2531, allocations: 0 / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2531, allocations: 4 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.2531, allocations: 4 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.812e-05/0.2532, allocations: 15.92 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.2538, allocations: 0.5872 MB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.58e-05/0.2538, allocations: 18.58 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.2538, allocations: 4.859 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/0.2541, allocations: 344.5 kB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.2541, allocations: 38.55 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.2541, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001237/0.2542, allocations: 37.64 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.2543, allocations: 51.41 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.2544, allocations: 101.8 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2544, allocations: 25.7 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.2544, allocations: 88.05 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.2545, allocations: 12.02 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.2545, allocations: 17.72 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2546, allocations: 318.8 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.2546, allocations: 8 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.2547, allocations: 13.72 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.2547, allocations: 25.64 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.2547, allocations: 8 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.722e-05/0.2548, allocations: 45.64 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.2548, allocations: 4 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.2548, allocations: 0 / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2548, allocations: 3.984 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-05/0.2549, allocations: 11.94 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2549, allocations: 0 / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.2549, allocations: 7.938 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.2549, allocations: 0 / 1.07 GB, free: 7.484 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 6.909e-05/0.255, allocations: 117.8 kB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.255, allocations: 0 / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2551, allocations: 121 kB / 1.07 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.82e-05/0.2552, allocations: 180.2 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.446e-05/0.2553, allocations: 180.3 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-05/0.2553, allocations: 184.2 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.2556, allocations: 409.2 kB / 1.071 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.154e-05/0.2556, allocations: 105.1 kB / 1.071 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.2557, allocations: 108.9 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.441e-05/0.2557, allocations: 176.5 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/0.2558, allocations: 184.2 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.149e-05/0.2559, allocations: 180.3 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.809e-05/0.2559, allocations: 180.3 kB / 1.072 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.2561, allocations: 311.6 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.2562, allocations: 194 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.2563, allocations: 184.3 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.2564, allocations: 112.9 kB / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.2565, allocations: 180.2 kB / 1.073 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.2565, allocations: 101 kB / 1.073 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.2566, allocations: 87.27 kB / 1.073 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2566, allocations: 0 / 1.073 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002423/0.2568, allocations: 31.94 kB / 1.073 GB, free: 4.012 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.0005072/0.2574, allocations: 0.8732 MB / 1.074 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.907e-05/0.2574, allocations: 12 kB / 1.074 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2574, allocations: 0 / 1.074 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/0.2574, allocations: 3.938 kB / 1.074 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.2578, allocations: 465.2 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009578/0.2588, allocations: 1.332 MB / 1.076 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.2591, allocations: 0.6768 MB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.2591, allocations: 5.969 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.2592, allocations: 15.44 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2592, allocations: 0 / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.815/8.074, allocations: 2.138 MB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/22.47, allocations: 12.53 kB / 1.079 GB, free: 14.52 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