Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 100.6 kB / 16.41 MB, free: 5.977 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.001651/0.001651, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 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.274/2.274, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8114, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1641/0.9755, allocations: 148.3 MB / 1.233 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.9757, allocations: 52.06 kB / 1.233 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.9757, allocations: 0 / 1.233 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.9758, allocations: 3.938 kB / 1.233 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.976, allocations: 19.25 kB / 1.233 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.9768, allocations: 214.9 kB / 1.234 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.485e-05/0.9769, allocations: 29.5 kB / 1.234 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.9769, allocations: 10.2 kB / 1.234 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.977, allocations: 12.12 kB / 1.234 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.992e-05/0.9771, allocations: 14.88 kB / 1.234 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.9771, allocations: 5.125 kB / 1.234 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.9775, allocations: 200.7 kB / 1.234 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.9776, allocations: 6.703 kB / 1.234 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.9776, allocations: 5.281 kB / 1.234 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.9779, allocations: 113.7 kB / 1.234 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9779, allocations: 4 kB / 1.234 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9779, allocations: 1.438 kB / 1.234 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.9779, allocations: 0 / 1.234 GB, free: 5.832 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004072/0.9784, allocations: 340.2 kB / 1.234 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.9784, allocations: 9.094 kB / 1.234 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/0.9787, allocations: 23.84 kB / 1.234 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.9788, allocations: 169.5 kB / 1.235 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.9789, allocations: 42.67 kB / 1.235 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.9789, allocations: 5.25 kB / 1.235 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.9791, allocations: 45.38 kB / 1.235 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9791, allocations: 0 / 1.235 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.9791, allocations: 9.172 kB / 1.235 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.9791, allocations: 5.141 kB / 1.235 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.628e-05/0.9792, allocations: 22.27 kB / 1.235 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.9796, allocations: 256 kB / 1.235 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.233e-05/0.9796, allocations: 27.7 kB / 1.235 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.9797, allocations: 11.05 kB / 1.235 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.9798, allocations: 95.2 kB / 1.235 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.9798, allocations: 31.5 kB / 1.235 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.9799, allocations: 0 / 1.235 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002463/0.9801, allocations: 51.94 kB / 1.235 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.9801, allocations: 56.88 kB / 1.235 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.9802, allocations: 106.8 kB / 1.235 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.9803, allocations: 26.89 kB / 1.235 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.9803, allocations: 88.86 kB / 1.235 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-06/0.9803, allocations: 4.906 kB / 1.235 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.9804, allocations: 18.19 kB / 1.235 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.9805, allocations: 319.5 kB / 1.236 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.9805, allocations: 11.42 kB / 1.236 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.9805, allocations: 20.36 kB / 1.236 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.776e-05/0.9806, allocations: 33.69 kB / 1.236 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9806, allocations: 4.938 kB / 1.236 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.363e-05/0.9807, allocations: 49.11 kB / 1.236 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.9807, allocations: 5.875 kB / 1.236 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9807, allocations: 1.125 kB / 1.236 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.9807, allocations: 5.109 kB / 1.236 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.9808, allocations: 5.625 kB / 1.236 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.9808, allocations: 5.062 kB / 1.236 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.9809, allocations: 4.938 kB / 1.236 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.9809, allocations: 2.281 kB / 1.236 GB, free: 3.875 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.939e-05/0.9809, allocations: 116.1 kB / 1.236 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.981, allocations: 1.031 kB / 1.236 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.981, allocations: 8.281 kB / 1.236 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.981, allocations: 1.094 kB / 1.236 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.981, allocations: 3.938 kB / 1.236 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.981, allocations: 5.078 kB / 1.236 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.9813, allocations: 360 kB / 1.236 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.9813, allocations: 1.062 kB / 1.236 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.9813, allocations: 2.625 kB / 1.236 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.9814, allocations: 13.11 kB / 1.236 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.9814, allocations: 1.25 kB / 1.236 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.9814, allocations: 0 / 1.236 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9814, allocations: 5.156 kB / 1.236 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.02e-05/0.9815, allocations: 71.88 kB / 1.236 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.9815, allocations: 86.14 kB / 1.237 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.9815, allocations: 9.078 kB / 1.237 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.248e-05/0.9816, allocations: 3.375 kB / 1.237 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.9816, allocations: 1.125 kB / 1.237 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.9816, allocations: 1.375 kB / 1.237 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.9817, allocations: 82.3 kB / 1.237 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9817, allocations: 0 / 1.237 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002025/0.9819, allocations: 11.62 kB / 1.237 GB, free: 3.047 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001315/0.982, allocations: 105.5 kB / 1.237 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.9822, allocations: 15.16 kB / 1.237 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9822, allocations: 0 / 1.237 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.65e-05/0.9822, allocations: 15.67 kB / 1.237 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.9825, allocations: 8 kB / 1.237 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.9827, allocations: 151.4 kB / 1.237 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.983, allocations: 0.6781 MB / 1.238 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.983, allocations: 8.812 kB / 1.238 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.983, allocations: 0 / 1.238 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of Templates: time 0.002047/0.9851, allocations: 0.612 MB / 1.238 GB, free: 1.762 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches