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.00121/0.00121, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008021/0.008021, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.504/1.504, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.05/3.05, allocations: 462.6 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003632, allocations: 10.25 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3765, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1745/0.5511, allocations: 144.2 MB / 1.199 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000129/0.5513, allocations: 47.86 kB / 1.199 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.5513, allocations: 4 kB / 1.199 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.5514, allocations: 0 / 1.199 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.974e-05/0.5515, allocations: 19.91 kB / 1.199 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.5523, allocations: 195.4 kB / 1.2 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.5524, allocations: 59.81 kB / 1.2 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.5525, allocations: 8 kB / 1.2 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.5525, allocations: 11.94 kB / 1.2 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.767e-05/0.5526, allocations: 15.97 kB / 1.2 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.5527, allocations: 0 / 1.2 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.5531, allocations: 231.3 kB / 1.2 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.5532, allocations: 11.98 kB / 1.2 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.5532, allocations: 33.64 kB / 1.2 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.5535, allocations: 131.9 kB / 1.2 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5535, allocations: 0 / 1.2 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5535, allocations: 0 / 1.2 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5535, allocations: 4 kB / 1.2 GB, free: 3.98 MB / 0.9512 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.0004149/0.5539, allocations: 336.8 kB / 1.2 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.554, allocations: 11.97 kB / 1.2 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/0.5543, allocations: 24.91 kB / 1.201 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.5544, allocations: 164.3 kB / 1.201 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/0.5545, allocations: 29.64 kB / 1.201 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.5545, allocations: 4 kB / 1.201 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.5547, allocations: 57.66 kB / 1.201 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.5547, allocations: 0 / 1.201 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.5547, allocations: 0 / 1.201 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.5547, allocations: 0 / 1.201 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.876e-05/0.5548, allocations: 23.98 kB / 1.201 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.5552, allocations: 268.8 kB / 1.201 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.072e-05/0.5553, allocations: 26.58 kB / 1.201 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.5553, allocations: 4.859 kB / 1.201 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.5555, allocations: 93.16 kB / 1.201 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.5555, allocations: 30.56 kB / 1.201 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.5555, allocations: 0 / 1.201 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000266/0.5558, allocations: 53.75 kB / 1.201 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.5558, allocations: 55.41 kB / 1.201 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.5559, allocations: 113.7 kB / 1.201 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.5559, allocations: 25.7 kB / 1.201 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.556, allocations: 88.05 kB / 1.202 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/0.556, allocations: 3.906 kB / 1.202 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.556, allocations: 17.7 kB / 1.202 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5562, allocations: 310.8 kB / 1.202 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.5562, allocations: 8 kB / 1.202 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.372e-05/0.5562, allocations: 26.56 kB / 1.202 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.5563, allocations: 30.52 kB / 1.202 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5563, allocations: 0 / 1.202 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.845e-05/0.5564, allocations: 53.69 kB / 1.202 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5564, allocations: 12.03 kB / 1.202 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.5564, allocations: 0 / 1.202 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.5564, allocations: 0 / 1.202 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.5565, allocations: 4 kB / 1.202 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5565, allocations: 7.938 kB / 1.202 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.5565, allocations: 3.938 kB / 1.202 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.5566, allocations: 11.98 kB / 1.202 GB, free: 1.855 MB / 0.9512 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.666e-05/0.5566, allocations: 111.3 kB / 1.202 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.5567, allocations: 12.17 kB / 1.202 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.5567, allocations: 11.12 kB / 1.202 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5567, allocations: 3.984 kB / 1.202 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5567, allocations: 3.938 kB / 1.202 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5567, allocations: 0 / 1.202 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.557, allocations: 359.5 kB / 1.202 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.557, allocations: 4 kB / 1.202 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.135e-05/0.5571, allocations: 0 / 1.202 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5571, allocations: 12 kB / 1.202 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.5571, allocations: 0 / 1.202 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5571, allocations: 0 / 1.202 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5571, allocations: 0 / 1.202 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.808e-05/0.5572, allocations: 73.98 kB / 1.203 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.5572, allocations: 81.05 kB / 1.203 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.5572, allocations: 0 / 1.203 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.5573, allocations: 8.031 kB / 1.203 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.5574, allocations: 7.938 kB / 1.203 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.5574, allocations: 7.922 kB / 1.203 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.5574, allocations: 79.28 kB / 1.203 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5574, allocations: 0 / 1.203 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000189/0.5576, allocations: 8 kB / 1.203 GB, free: 0.9805 MB / 0.9512 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.0001259/0.5577, allocations: 103.2 kB / 1.203 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.816e-05/0.5578, allocations: 11.98 kB / 1.203 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5578, allocations: 4 kB / 1.203 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.5579, allocations: 7.938 kB / 1.203 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.5581, allocations: 9.344 kB / 1.203 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.5584, allocations: 133.7 kB / 1.203 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.5587, allocations: 0.677 MB / 1.204 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.423e-05/0.5588, allocations: 4 kB / 1.204 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.5588, allocations: 7.438 kB / 1.204 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/0.5588, allocations: 0 / 1.204 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of Templates: time 0.002848/0.5617, allocations: 0.5507 MB / 1.204 GB, free: 15.41 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches