Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.001276/0.001276, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001281/0.001281, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 60.34 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2828, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6629/0.9458, allocations: 148.3 MB / 1.209 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001578/0.946, allocations: 54.06 kB / 1.209 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.9461, allocations: 1.312 kB / 1.209 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.9462, allocations: 7.938 kB / 1.209 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.9463, allocations: 10.86 kB / 1.209 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.9471, allocations: 213.8 kB / 1.209 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.185e-05/0.9472, allocations: 38.5 kB / 1.209 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.9472, allocations: 1.219 kB / 1.209 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.528e-05/0.9473, allocations: 17.28 kB / 1.209 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/0.9474, allocations: 12.75 kB / 1.209 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.9474, allocations: 4 kB / 1.209 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.9478, allocations: 205.5 kB / 1.21 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.9479, allocations: 3.219 kB / 1.21 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.9479, allocations: 17.27 kB / 1.21 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.9482, allocations: 107.2 kB / 1.21 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.9482, allocations: 0 / 1.21 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9482, allocations: 1.156 kB / 1.21 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.9482, allocations: 0 / 1.21 GB, free: 14.81 MB / 0.9356 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.0003891/0.9486, allocations: 342.4 kB / 1.21 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.9487, allocations: 13.25 kB / 1.21 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.949, allocations: 24 kB / 1.21 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.9491, allocations: 166.2 kB / 1.21 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.9492, allocations: 34.83 kB / 1.21 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.9492, allocations: 1.094 kB / 1.21 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.9493, allocations: 50.14 kB / 1.21 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.9494, allocations: 0 / 1.21 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.9494, allocations: 1.125 kB / 1.21 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.9494, allocations: 5.094 kB / 1.21 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.203e-05/0.9495, allocations: 21.67 kB / 1.21 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.9498, allocations: 268.1 kB / 1.211 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.828e-05/0.9499, allocations: 23.77 kB / 1.211 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.9499, allocations: 11.27 kB / 1.211 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.9501, allocations: 95.78 kB / 1.211 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.9501, allocations: 30.56 kB / 1.211 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.9501, allocations: 1.5 kB / 1.211 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002446/0.9504, allocations: 50.47 kB / 1.211 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.9504, allocations: 52.34 kB / 1.211 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.9505, allocations: 116 kB / 1.211 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.9505, allocations: 26.58 kB / 1.211 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.9506, allocations: 93.3 kB / 1.211 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/0.9506, allocations: 4.969 kB / 1.211 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.9506, allocations: 17.2 kB / 1.211 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.9507, allocations: 316 kB / 1.211 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.9508, allocations: 2.531 kB / 1.211 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.937e-05/0.9508, allocations: 23.81 kB / 1.211 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.858e-05/0.9508, allocations: 35.48 kB / 1.211 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9508, allocations: 0 / 1.211 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.624e-05/0.9509, allocations: 58.09 kB / 1.211 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.951, allocations: 4.781 kB / 1.211 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.951, allocations: 0.9375 kB / 1.211 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.951, allocations: 5.281 kB / 1.211 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.9511, allocations: 5.781 kB / 1.211 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.9511, allocations: 2.688 kB / 1.211 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.9511, allocations: 5.344 kB / 1.211 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.9511, allocations: 1.406 kB / 1.211 GB, free: 12.86 MB / 0.9356 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.644e-05/0.9512, allocations: 112.4 kB / 1.212 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.9512, allocations: 5.406 kB / 1.212 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.9513, allocations: 16.38 kB / 1.212 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9513, allocations: 0 / 1.212 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.9513, allocations: 5.438 kB / 1.212 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.9513, allocations: 3.938 kB / 1.212 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.9516, allocations: 357.6 kB / 1.212 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9516, allocations: 0 / 1.212 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.9517, allocations: 7.188 kB / 1.212 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.9517, allocations: 5.625 kB / 1.212 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.9517, allocations: 0 / 1.212 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.9517, allocations: 5.25 kB / 1.212 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9517, allocations: 1.25 kB / 1.212 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.209e-05/0.9518, allocations: 67.92 kB / 1.212 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.9518, allocations: 78.55 kB / 1.212 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.9519, allocations: 8.438 kB / 1.212 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.952, allocations: 2.625 kB / 1.212 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.952, allocations: 9.578 kB / 1.212 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.952, allocations: 3.938 kB / 1.212 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.952, allocations: 86.78 kB / 1.212 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.952, allocations: 1.438 kB / 1.212 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001993/0.9523, allocations: 5.688 kB / 1.212 GB, free: 12.04 MB / 0.9356 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.0001366/0.9524, allocations: 101.5 kB / 1.212 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.445e-05/0.9525, allocations: 21.7 kB / 1.212 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.9525, allocations: 1.219 kB / 1.212 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.9525, allocations: 7.625 kB / 1.212 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.9528, allocations: 8.969 kB / 1.212 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.9531, allocations: 143 kB / 1.212 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.9533, allocations: 0.6809 MB / 1.213 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.9533, allocations: 9.969 kB / 1.213 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.9533, allocations: 0 / 1.213 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of Templates: time 0.002203/0.9556, allocations: 0.6224 MB / 1.214 GB, free: 10.75 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches