Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_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.008717/0.008717, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.002197/0.002197, allocations: 188.6 kB / 16.67 MB, free: 5.887 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.585/2.585, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.89 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8737/0.8752, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1741/1.049, allocations: 148.7 MB / 1.366 GB, free: 12.8 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0001415/1.049, allocations: 51.86 kB / 1.366 GB, free: 12.75 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/1.049, allocations: 4 kB / 1.366 GB, free: 12.75 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/1.05, allocations: 7.922 kB / 1.366 GB, free: 12.74 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/1.05, allocations: 11.92 kB / 1.366 GB, free: 12.73 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007637/1.05, allocations: 215.2 kB / 1.366 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 9.561e-05/1.05, allocations: 47.78 kB / 1.366 GB, free: 12.47 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/1.051, allocations: 0 / 1.366 GB, free: 12.47 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.253e-05/1.051, allocations: 11.94 kB / 1.366 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/1.051, allocations: 15.97 kB / 1.366 GB, free: 12.45 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/1.051, allocations: 0 / 1.366 GB, free: 12.45 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/1.051, allocations: 195.4 kB / 1.366 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/1.051, allocations: 11.97 kB / 1.366 GB, free: 12.24 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/1.051, allocations: 11.94 kB / 1.366 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/1.051, allocations: 116.3 kB / 1.366 GB, free: 12.12 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/1.051, allocations: 0 / 1.366 GB, free: 12.12 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.034e-06/1.051, allocations: 4 kB / 1.366 GB, free: 12.12 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.051, allocations: 0 / 1.366 GB, free: 12.12 MB / 1.092 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.0004062/1.052, allocations: 343.4 kB / 1.367 GB, free: 11.73 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.052, allocations: 8.031 kB / 1.367 GB, free: 11.73 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/1.052, allocations: 28.84 kB / 1.367 GB, free: 11.7 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/1.052, allocations: 164.3 kB / 1.367 GB, free: 11.5 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/1.052, allocations: 37.64 kB / 1.367 GB, free: 11.46 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/1.052, allocations: 4 kB / 1.367 GB, free: 11.45 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/1.052, allocations: 49.67 kB / 1.367 GB, free: 11.4 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/1.052, allocations: 0 / 1.367 GB, free: 11.4 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/1.052, allocations: 0 / 1.367 GB, free: 11.4 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/1.052, allocations: 4 kB / 1.367 GB, free: 11.39 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.14e-05/1.053, allocations: 19.98 kB / 1.367 GB, free: 11.38 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/1.053, allocations: 260.8 kB / 1.367 GB, free: 11.07 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 5.925e-05/1.053, allocations: 22.58 kB / 1.367 GB, free: 11.04 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/1.053, allocations: 8.922 kB / 1.367 GB, free: 11.03 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/1.053, allocations: 93.09 kB / 1.367 GB, free: 10.92 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/1.053, allocations: 30.56 kB / 1.368 GB, free: 10.88 MB / 1.092 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.053, allocations: 0 / 1.368 GB, free: 10.88 MB / 1.092 GB Notification: Performance of matching and sorting (n=2): time 0.0002399/1.053, allocations: 57.62 kB / 1.368 GB, free: 10.82 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/1.053, allocations: 55.34 kB / 1.368 GB, free: 10.75 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/1.054, allocations: 109.8 kB / 1.368 GB, free: 10.63 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/1.054, allocations: 25.7 kB / 1.368 GB, free: 10.6 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/1.054, allocations: 88.03 kB / 1.368 GB, free: 10.51 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/1.054, allocations: 3.953 kB / 1.368 GB, free: 10.51 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/1.054, allocations: 21.7 kB / 1.368 GB, free: 10.48 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.054, allocations: 323 kB / 1.368 GB, free: 10.16 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/1.054, allocations: 0 / 1.368 GB, free: 10.16 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/1.054, allocations: 30.56 kB / 1.368 GB, free: 10.12 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/1.054, allocations: 30.52 kB / 1.368 GB, free: 10.08 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.054, allocations: 0 / 1.368 GB, free: 10.08 MB / 1.092 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.982e-05/1.054, allocations: 61.58 kB / 1.368 GB, free: 10.01 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.054, allocations: 7.938 kB / 1.368 GB, free: 10 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.054, allocations: 0 / 1.368 GB, free: 10 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.054, allocations: 4 kB / 1.368 GB, free: 10 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/1.054, allocations: 4 kB / 1.368 GB, free: 9.996 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.054, allocations: 3.938 kB / 1.368 GB, free: 9.992 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/1.054, allocations: 4 kB / 1.368 GB, free: 9.988 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/1.054, allocations: 0 / 1.368 GB, free: 9.988 MB / 1.092 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 7.99e-05/1.054, allocations: 117.9 kB / 1.368 GB, free: 9.863 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/1.054, allocations: 12.2 kB / 1.368 GB, free: 9.852 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/1.054, allocations: 7.125 kB / 1.368 GB, free: 9.844 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.054, allocations: 3.984 kB / 1.368 GB, free: 9.84 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.054, allocations: 3.938 kB / 1.368 GB, free: 9.836 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/1.054, allocations: 0 / 1.368 GB, free: 9.836 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/1.054, allocations: 355.6 kB / 1.369 GB, free: 9.426 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.054, allocations: 4.062 kB / 1.369 GB, free: 9.422 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/1.054, allocations: 7.938 kB / 1.369 GB, free: 9.414 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.054, allocations: 3.938 kB / 1.369 GB, free: 9.41 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.055, allocations: 4 kB / 1.369 GB, free: 9.406 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.055, allocations: 0 / 1.369 GB, free: 9.406 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.055, allocations: 0 / 1.369 GB, free: 9.406 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.989e-05/1.055, allocations: 69.94 kB / 1.369 GB, free: 9.316 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/1.055, allocations: 93.08 kB / 1.369 GB, free: 9.207 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/1.055, allocations: 0 / 1.369 GB, free: 9.207 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/1.055, allocations: 4 kB / 1.369 GB, free: 9.203 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/1.055, allocations: 3.938 kB / 1.369 GB, free: 9.199 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/1.055, allocations: 3.984 kB / 1.369 GB, free: 9.195 MB / 1.092 GB Notification: Performance of sorting global known variables: time 3.954e-05/1.055, allocations: 83.22 kB / 1.369 GB, free: 9.113 MB / 1.092 GB Notification: Performance of sort global known variables: time 6.1e-08/1.055, allocations: 0 / 1.369 GB, free: 9.113 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000194/1.055, allocations: 8 kB / 1.369 GB, free: 9.105 MB / 1.092 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.0001257/1.055, allocations: 115.2 kB / 1.369 GB, free: 8.984 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 8.527e-05/1.055, allocations: 11.98 kB / 1.369 GB, free: 8.973 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.055, allocations: 0 / 1.369 GB, free: 8.973 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/1.055, allocations: 7.938 kB / 1.369 GB, free: 8.965 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/1.055, allocations: 11.94 kB / 1.369 GB, free: 8.953 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/1.056, allocations: 123.7 kB / 1.369 GB, free: 8.805 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/1.056, allocations: 0.6768 MB / 1.37 GB, free: 8.102 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 4.535e-05/1.056, allocations: 4 kB / 1.37 GB, free: 8.098 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/1.056, allocations: 7.438 kB / 1.37 GB, free: 8.09 MB / 1.092 GB Notification: Performance of SimCode: time 2.91e-07/1.056, allocations: 4 kB / 1.37 GB, free: 8.086 MB / 1.092 GB Notification: Performance of Templates: time 0.002889/1.059, allocations: 0.5932 MB / 1.371 GB, free: 7.5 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches