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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 100.1 kB / 15.88 MB, free: 12 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.001589/0.001589, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 70.3 kB / 0.899 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2616, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005014/0.2667, allocations: 3.341 MB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001042/0.2668, allocations: 55.84 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.644e-05/0.2668, allocations: 0 / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.31e-05/0.2669, allocations: 0 / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.866e-05/0.2671, allocations: 11.92 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.2676, allocations: 171.4 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.004e-05/0.2677, allocations: 59.81 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.2678, allocations: 7.938 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.2678, allocations: 11.98 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.2679, allocations: 19.92 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.2679, allocations: 0 / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.2683, allocations: 175.5 kB / 1.057 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.2683, allocations: 4 kB / 1.057 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.2684, allocations: 15.92 kB / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.2686, allocations: 84.11 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2686, allocations: 8 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2686, allocations: 0 / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.2686, allocations: 0 / 1.057 GB, free: 4.324 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.0003958/0.269, allocations: 347.5 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2691, allocations: 11.97 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.2691, allocations: 0.9375 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2692, allocations: 164.4 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.215e-05/0.2693, allocations: 30.27 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.2694, allocations: 384 / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.2695, allocations: 49.62 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2695, allocations: 3.984 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2695, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.2696, allocations: 3.938 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.2696, allocations: 15.98 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.2703, allocations: 0.5871 MB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.2704, allocations: 22.56 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.2704, allocations: 8.922 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.2707, allocations: 344.3 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.2707, allocations: 38.5 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.2707, allocations: 0 / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.2709, allocations: 37.69 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2709, allocations: 55.53 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.271, allocations: 101.9 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.271, allocations: 25.7 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.2711, allocations: 88.03 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.2711, allocations: 0 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.2711, allocations: 17.72 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2712, allocations: 314.8 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.2712, allocations: 4 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.2713, allocations: 29.7 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.2713, allocations: 21.66 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2713, allocations: 0 / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.903e-05/0.2714, allocations: 53.53 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2714, allocations: 4 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2714, allocations: 3.938 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2715, allocations: 8.062 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.29e-05/0.2715, allocations: 4 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2715, allocations: 0 / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.2715, allocations: 3.938 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.2716, allocations: 7.984 kB / 1.059 GB, free: 1.566 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 7.757e-05/0.2716, allocations: 113.8 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.2717, allocations: 4 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.2718, allocations: 119.2 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-05/0.2718, allocations: 184.2 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.856e-05/0.2719, allocations: 180.3 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.954e-05/0.272, allocations: 180.2 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.2722, allocations: 405.2 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.2722, allocations: 108.9 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.2723, allocations: 105 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.799e-05/0.2723, allocations: 180.3 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.2724, allocations: 184.2 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.589e-05/0.2725, allocations: 180.2 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.872e-05/0.2725, allocations: 180.2 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.2727, allocations: 315.9 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.2728, allocations: 186.1 kB / 1.061 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.811e-05/0.2728, allocations: 180.3 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.273, allocations: 112.9 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.2731, allocations: 184.2 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.2731, allocations: 104.9 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.2732, allocations: 87.28 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2732, allocations: 0 / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002869/0.2735, allocations: 35.98 kB / 1.062 GB, free: 14.09 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.000267/0.2738, allocations: 238.3 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.082e-05/0.2738, allocations: 12 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2738, allocations: 0 / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2738, allocations: 0 / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.2743, allocations: 0.5303 MB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.2746, allocations: 209.3 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.2748, allocations: 0.6731 MB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.2749, allocations: 11.44 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.2749, allocations: 0 / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of Templates: time 0.002675/0.2776, allocations: 1.186 MB / 1.065 GB, free: 11.18 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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 & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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