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.001152/0.001152, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009596/0.0009597, allocations: 177 kB / 16.92 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.289 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.433/2.433, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6844/0.6847, allocations: 142.4 MB / 0.9557 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1542/0.839, allocations: 143.7 MB / 1.096 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00013/0.8392, allocations: 51.81 kB / 1.096 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.8392, allocations: 0 / 1.096 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.8393, allocations: 7.984 kB / 1.096 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.8394, allocations: 7.922 kB / 1.096 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.8399, allocations: 107.7 kB / 1.096 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.84, allocations: 63.75 kB / 1.096 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.8401, allocations: 7.984 kB / 1.096 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.776e-05/0.8401, allocations: 8 kB / 1.096 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.8402, allocations: 11.98 kB / 1.096 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.8402, allocations: 0 / 1.096 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.8404, allocations: 83.72 kB / 1.096 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.8405, allocations: 15.92 kB / 1.096 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.8405, allocations: 33.69 kB / 1.096 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.8407, allocations: 49.92 kB / 1.096 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8407, allocations: 0 / 1.096 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8407, allocations: 0 / 1.096 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.8407, allocations: 0 / 1.096 GB, free: 14.68 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.0003434/0.841, allocations: 335.4 kB / 1.097 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.8411, allocations: 11.97 kB / 1.097 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.8413, allocations: 24.92 kB / 1.097 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.8414, allocations: 164.4 kB / 1.097 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/0.8415, allocations: 33.64 kB / 1.097 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.8415, allocations: 3.984 kB / 1.097 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.8417, allocations: 41.69 kB / 1.097 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.8417, allocations: 7.938 kB / 1.097 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.8417, allocations: 0 / 1.097 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.8417, allocations: 0 / 1.097 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.394e-05/0.8418, allocations: 19.98 kB / 1.097 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.8421, allocations: 264.8 kB / 1.097 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.987e-05/0.8422, allocations: 18.56 kB / 1.097 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.8422, allocations: 12.92 kB / 1.097 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.8422, allocations: 0 / 1.097 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.8423, allocations: 42.48 kB / 1.097 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.8423, allocations: 0 / 1.097 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.8424, allocations: 33.7 kB / 1.097 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.8424, allocations: 59.34 kB / 1.098 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.8425, allocations: 105.8 kB / 1.098 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.8425, allocations: 25.7 kB / 1.098 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.8426, allocations: 87.98 kB / 1.098 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-06/0.8426, allocations: 3.906 kB / 1.098 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.8426, allocations: 21.84 kB / 1.098 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.8428, allocations: 314.8 kB / 1.098 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.8428, allocations: 4 kB / 1.098 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.8428, allocations: 26.52 kB / 1.098 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.8429, allocations: 26.56 kB / 1.098 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8429, allocations: 4 kB / 1.098 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.932e-05/0.843, allocations: 53.64 kB / 1.098 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.843, allocations: 4 kB / 1.098 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.843, allocations: 7.984 kB / 1.098 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.843, allocations: 0 / 1.098 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.8431, allocations: 12.12 kB / 1.098 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.8431, allocations: 7.938 kB / 1.098 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.8431, allocations: 4 kB / 1.098 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.8432, allocations: 96 / 1.098 GB, free: 12.69 MB / 0.8575 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 6.971e-05/0.8432, allocations: 113.8 kB / 1.098 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.8433, allocations: 0 / 1.098 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.8433, allocations: 11.12 kB / 1.098 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.8433, allocations: 3.984 kB / 1.098 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.8433, allocations: 3.938 kB / 1.098 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.8433, allocations: 0 / 1.098 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.8436, allocations: 350.6 kB / 1.099 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8436, allocations: 4.031 kB / 1.099 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.8436, allocations: 0 / 1.099 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.8436, allocations: 7.938 kB / 1.099 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.8437, allocations: 0 / 1.099 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8437, allocations: 0 / 1.099 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8437, allocations: 0 / 1.099 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.793e-05/0.8437, allocations: 61.12 kB / 1.099 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.8438, allocations: 81.05 kB / 1.099 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.8438, allocations: 4.031 kB / 1.099 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.8439, allocations: 7.984 kB / 1.099 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.8439, allocations: 0 / 1.099 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.8439, allocations: 0 / 1.099 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.844, allocations: 79.28 kB / 1.099 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.844, allocations: 0 / 1.099 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001935/0.8442, allocations: 12 kB / 1.099 GB, free: 11.86 MB / 0.8575 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 9.408e-05/0.8443, allocations: 103.2 kB / 1.099 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.236e-05/0.8444, allocations: 15.98 kB / 1.099 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8444, allocations: 0 / 1.099 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-06/0.8444, allocations: 0 / 1.099 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.8446, allocations: 13.02 kB / 1.099 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.8448, allocations: 150.4 kB / 1.099 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.8451, allocations: 0.6809 MB / 1.1 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.8451, allocations: 11.44 kB / 1.1 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.8451, allocations: 0 / 1.1 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of Templates: time 0.0019/0.847, allocations: 0.556 MB / 1.1 GB, free: 10.27 MB / 0.8575 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 -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