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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008219/0.000822, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001156/0.001156, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 390.9 MB / 0.666 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.000421, allocations: 8 kB / 0.8153 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7871/0.7876, allocations: 142.4 MB / 0.9544 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1635/0.9511, allocations: 134.5 MB / 1.086 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001967/0.9513, allocations: 55.88 kB / 1.086 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.9514, allocations: 4 kB / 1.086 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.9515, allocations: 3.938 kB / 1.086 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.9516, allocations: 7.984 kB / 1.086 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.9527, allocations: 158.4 kB / 1.086 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.9529, allocations: 35.91 kB / 1.086 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.9529, allocations: 11.94 kB / 1.086 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.986e-05/0.953, allocations: 19.91 kB / 1.086 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.9531, allocations: 15.98 kB / 1.086 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.9531, allocations: 0 / 1.086 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.9536, allocations: 103.7 kB / 1.086 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.9537, allocations: 11.98 kB / 1.086 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.9537, allocations: 25.7 kB / 1.086 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.9539, allocations: 54.05 kB / 1.086 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.954, allocations: 0 / 1.086 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.954, allocations: 4 kB / 1.086 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.954, allocations: 0 / 1.086 GB, free: 8.328 MB / 0.8419 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.0004885/0.9545, allocations: 339.2 kB / 1.087 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.9545, allocations: 8.031 kB / 1.087 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.955, allocations: 27.97 kB / 1.087 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.9552, allocations: 167 kB / 1.087 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/0.9552, allocations: 29.7 kB / 1.087 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.9553, allocations: 4 kB / 1.087 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.9555, allocations: 53.67 kB / 1.087 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.9555, allocations: 3.953 kB / 1.087 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.9555, allocations: 0 / 1.087 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.9555, allocations: 0 / 1.087 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.9556, allocations: 23.98 kB / 1.087 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.9561, allocations: 253 kB / 1.087 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.9562, allocations: 34.47 kB / 1.087 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.9562, allocations: 8.859 kB / 1.087 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.9564, allocations: 93.16 kB / 1.087 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.9565, allocations: 30.56 kB / 1.087 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.9565, allocations: 0 / 1.087 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0002951/0.9568, allocations: 61.62 kB / 1.087 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.9568, allocations: 51.41 kB / 1.087 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.957, allocations: 101.8 kB / 1.087 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.957, allocations: 25.7 kB / 1.087 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.9571, allocations: 91.98 kB / 1.088 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.9571, allocations: 4 kB / 1.088 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.9571, allocations: 0 / 1.088 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.9572, allocations: 310.8 kB / 1.088 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.9573, allocations: 12.02 kB / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.9573, allocations: 22.58 kB / 1.088 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.9574, allocations: 8 kB / 1.088 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.9574, allocations: 0 / 1.088 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001328/0.9575, allocations: 61.48 kB / 1.088 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.9575, allocations: 8.094 kB / 1.088 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.9575, allocations: 3.938 kB / 1.088 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.9576, allocations: 7.938 kB / 1.088 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.9577, allocations: 11.92 kB / 1.088 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9577, allocations: 0 / 1.088 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.9577, allocations: 8 kB / 1.088 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.9578, allocations: 0 / 1.088 GB, free: 6.25 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.569e-05/0.9579, allocations: 109.8 kB / 1.088 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.9579, allocations: 3.953 kB / 1.088 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.958, allocations: 11.12 kB / 1.088 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.958, allocations: 0 / 1.088 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.958, allocations: 4 kB / 1.088 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.958, allocations: 0 / 1.088 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.9584, allocations: 359.5 kB / 1.088 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9584, allocations: 0 / 1.088 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.9585, allocations: 4 kB / 1.088 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9585, allocations: 0 / 1.088 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.9585, allocations: 4.062 kB / 1.088 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.9585, allocations: 7.984 kB / 1.088 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9585, allocations: 0 / 1.088 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.9587, allocations: 78.08 kB / 1.089 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.9587, allocations: 81.11 kB / 1.089 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.9588, allocations: 7.969 kB / 1.089 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.9589, allocations: 8.031 kB / 1.089 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.9589, allocations: 0 / 1.089 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.9589, allocations: 4 kB / 1.089 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.545e-05/0.959, allocations: 83.28 kB / 1.089 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.959, allocations: 0 / 1.089 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003508/0.9594, allocations: 8 kB / 1.089 GB, free: 5.379 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001616/0.9595, allocations: 103 kB / 1.089 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.508e-05/0.9596, allocations: 19.94 kB / 1.089 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9597, allocations: 0 / 1.089 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.9597, allocations: 8 kB / 1.089 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.96, allocations: 11.94 kB / 1.089 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.9604, allocations: 137.6 kB / 1.089 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.9608, allocations: 0.677 MB / 1.09 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.085e-05/0.9609, allocations: 4 kB / 1.09 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.9609, allocations: 11.44 kB / 1.09 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.9609, allocations: 0 / 1.09 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of Templates: time 0.003419/0.9644, allocations: 0.5328 MB / 1.09 GB, free: 3.812 MB / 0.8419 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches