Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001447/0.001448, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.337/2.337, allocations: 390.3 MB / 0.6655 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.45 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2378, allocations: 140.4 MB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6109/0.8487, allocations: 147.8 MB / 1.095 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.8489, allocations: 60.67 kB / 1.096 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.849, allocations: 0 / 1.096 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.8491, allocations: 5.094 kB / 1.096 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.228e-05/0.8492, allocations: 12.88 kB / 1.096 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.8497, allocations: 104.1 kB / 1.096 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.369e-05/0.8498, allocations: 34.66 kB / 1.096 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.8499, allocations: 7.25 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.8499, allocations: 20.53 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.85, allocations: 13.3 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.85, allocations: 0.9375 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.8503, allocations: 85.09 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.8503, allocations: 11.58 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.8504, allocations: 11.64 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.8506, allocations: 67.86 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8506, allocations: 1.156 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8506, allocations: 1.094 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.8506, allocations: 4 kB / 1.096 GB, free: 5.738 MB / 0.8575 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.0006189/0.8512, allocations: 341.4 kB / 1.096 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.8513, allocations: 10.16 kB / 1.096 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.8515, allocations: 16.77 kB / 1.096 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.8516, allocations: 164.7 kB / 1.096 GB, free: 21.19 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.115e-05/0.8517, allocations: 32.59 kB / 1.096 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.8517, allocations: 8 kB / 1.096 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.8519, allocations: 47.17 kB / 1.097 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.8519, allocations: 0 / 1.097 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.8519, allocations: 1.312 kB / 1.097 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.8519, allocations: 2.172 kB / 1.097 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.879e-05/0.852, allocations: 18.47 kB / 1.097 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.8524, allocations: 270.8 kB / 1.097 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 3.216e-05/0.8524, allocations: 20.72 kB / 1.097 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.8524, allocations: 6.266 kB / 1.097 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.8524, allocations: 0 / 1.097 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.8525, allocations: 33.98 kB / 1.097 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.8525, allocations: 0 / 1.097 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.8526, allocations: 38.78 kB / 1.097 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.8527, allocations: 55.53 kB / 1.097 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.8528, allocations: 111.6 kB / 1.097 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.8528, allocations: 26.61 kB / 1.097 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.8528, allocations: 95.03 kB / 1.097 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/0.8528, allocations: 7.031 kB / 1.097 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.8529, allocations: 15.03 kB / 1.097 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.853, allocations: 317.9 kB / 1.097 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.853, allocations: 4.672 kB / 1.097 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.853, allocations: 26.78 kB / 1.098 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/0.8531, allocations: 34.97 kB / 1.098 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8531, allocations: 0 / 1.098 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.301e-05/0.8532, allocations: 53.72 kB / 1.098 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8532, allocations: 12.02 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.8532, allocations: 1.375 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.8532, allocations: 0.8438 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.8533, allocations: 6.969 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.8533, allocations: 6.641 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.8534, allocations: 1.812 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.8534, allocations: 1.562 kB / 1.098 GB, free: 20.03 MB / 0.8731 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 8.448e-05/0.8535, allocations: 115.3 kB / 1.098 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.8535, allocations: 5.594 kB / 1.098 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.8535, allocations: 8.812 kB / 1.098 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.8535, allocations: 0 / 1.098 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.8535, allocations: 5.281 kB / 1.098 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.8535, allocations: 3.094 kB / 1.098 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.8538, allocations: 346.4 kB / 1.098 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8538, allocations: 0 / 1.098 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/0.8538, allocations: 3.484 kB / 1.098 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.8538, allocations: 5.125 kB / 1.098 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.8538, allocations: 4.031 kB / 1.098 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8539, allocations: 1.344 kB / 1.098 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8539, allocations: 0 / 1.098 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.216e-05/0.8539, allocations: 60.66 kB / 1.098 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.854, allocations: 82.77 kB / 1.098 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.854, allocations: 5.422 kB / 1.098 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.8541, allocations: 3.875 kB / 1.098 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.8541, allocations: 8.25 kB / 1.098 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.8541, allocations: 2.5 kB / 1.098 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.8542, allocations: 84.48 kB / 1.098 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8542, allocations: 0 / 1.098 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002028/0.8544, allocations: 6.828 kB / 1.098 GB, free: 19.27 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001094/0.8545, allocations: 101.8 kB / 1.098 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.861e-05/0.8546, allocations: 13.31 kB / 1.098 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8546, allocations: 5.312 kB / 1.098 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-06/0.8546, allocations: 1.812 kB / 1.098 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.8549, allocations: 11.45 kB / 1.098 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.8551, allocations: 108.9 kB / 1.099 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.8553, allocations: 0.6774 MB / 1.099 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.981e-05/0.8554, allocations: 9.359 kB / 1.099 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.8554, allocations: 9.516 kB / 1.099 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8554, allocations: 0.8438 kB / 1.099 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.003114/0.8585, allocations: 0.5027 MB / 1.1 GB, free: 18.32 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches