Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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_9_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.006578/0.006578, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001413/0.001413, allocations: 194.7 kB / 16.67 MB, free: 5.52 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.499/1.499, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.91 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004705/1.02, allocations: 3.273 MB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001004/1.02, allocations: 53.97 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.994e-05/1.02, allocations: 3.938 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.813e-05/1.02, allocations: 5.938 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/1.02, allocations: 17.06 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/1.021, allocations: 180 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/1.021, allocations: 33.23 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/1.021, allocations: 6.234 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.61e-05/1.021, allocations: 19.73 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.863e-05/1.021, allocations: 16.02 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/1.021, allocations: 1.938 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/1.022, allocations: 169.6 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/1.022, allocations: 5.875 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/1.022, allocations: 9.047 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/1.022, allocations: 141.6 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.022, allocations: 3.938 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/1.022, allocations: 1.062 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.022, allocations: 0 / 1.092 GB, free: 2.883 MB / 0.8575 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.0003384/1.022, allocations: 347.3 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.022, allocations: 10.28 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/1.022, allocations: 2.062 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.775e-05/1.023, allocations: 166.8 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/1.023, allocations: 27.3 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/1.023, allocations: 1.531 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/1.023, allocations: 47.7 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.023, allocations: 4.75 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/1.023, allocations: 0.6562 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/1.023, allocations: 1.156 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.693e-05/1.023, allocations: 17.61 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/1.023, allocations: 0.5803 MB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.666e-05/1.023, allocations: 16.7 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.211e-05/1.024, allocations: 6.516 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/1.024, allocations: 347.8 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/1.024, allocations: 35.8 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/1.024, allocations: 0 / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/1.024, allocations: 46.2 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/1.024, allocations: 51.41 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/1.024, allocations: 107.7 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/1.024, allocations: 29.64 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/1.024, allocations: 94 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/1.024, allocations: 5.984 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/1.024, allocations: 14.61 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.382e-05/1.024, allocations: 315.9 kB / 1.094 GB, free: 460 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/1.024, allocations: 7.234 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/1.024, allocations: 15.75 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/1.024, allocations: 28.72 kB / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.024, allocations: 1.656 kB / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.205e-05/1.024, allocations: 45.41 kB / 1.094 GB, free: 376 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.024, allocations: 5.469 kB / 1.094 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.024, allocations: 0.5625 kB / 1.094 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/1.024, allocations: 5.188 kB / 1.094 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.197e-05/1.024, allocations: 5.438 kB / 1.094 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/1.024, allocations: 5.016 kB / 1.094 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/1.024, allocations: 9.844 kB / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/1.024, allocations: 2.094 kB / 1.094 GB, free: 360 kB / 0.8575 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.161e-05/1.025, allocations: 112.4 kB / 1.094 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/1.025, allocations: 1.75 kB / 1.094 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.001e-05/1.025, allocations: 121.6 kB / 1.094 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-05/1.025, allocations: 182.1 kB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.103e-05/1.025, allocations: 186.3 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-05/1.025, allocations: 181.7 kB / 1.095 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/1.025, allocations: 408 kB / 1.095 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.285e-05/1.025, allocations: 102.5 kB / 1.095 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/1.025, allocations: 106.3 kB / 1.095 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.687e-05/1.025, allocations: 177.9 kB / 1.096 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.426e-05/1.025, allocations: 187 kB / 1.096 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-05/1.025, allocations: 182.1 kB / 1.096 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.349e-05/1.026, allocations: 184.8 kB / 1.096 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/1.026, allocations: 302.7 kB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/1.026, allocations: 192.1 kB / 1.097 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/1.026, allocations: 182.8 kB / 1.097 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/1.026, allocations: 109.5 kB / 1.097 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/1.026, allocations: 177.9 kB / 1.097 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/1.026, allocations: 102.4 kB / 1.097 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.51e-05/1.026, allocations: 94.62 kB / 1.097 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.026, allocations: 4 kB / 1.097 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003041/1.026, allocations: 33.02 kB / 1.097 GB, free: 12.96 MB / 0.8731 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.0003054/1.027, allocations: 246.6 kB / 1.097 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.782e-05/1.027, allocations: 7.094 kB / 1.097 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.027, allocations: 1.031 kB / 1.097 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/1.027, allocations: 0 / 1.097 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/1.027, allocations: 466.2 kB / 1.098 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/1.028, allocations: 188.9 kB / 1.098 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/1.028, allocations: 0.6734 MB / 1.099 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.298e-05/1.028, allocations: 5.938 kB / 1.099 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/1.028, allocations: 9.469 kB / 1.099 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/1.028, allocations: 0 / 1.099 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of Templates: time 0.004363/1.032, allocations: 1.199 MB / 1.1 GB, free: 11.23 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches