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.001361/0.001361, allocations: 100.1 kB / 15.88 MB, free: 12 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.001626/0.001626, allocations: 197 kB / 16.79 MB, free: 6.809 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.613 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.425/2.425, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 67.83 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6104/0.6119, allocations: 140.4 MB / 0.9496 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1476/0.7595, allocations: 145.6 MB / 1.092 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.7597, allocations: 55.84 kB / 1.092 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.7598, allocations: 0 / 1.092 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.7599, allocations: 3.938 kB / 1.092 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.76, allocations: 11.92 kB / 1.092 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.7605, allocations: 95.73 kB / 1.092 GB, free: 0 / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.7606, allocations: 67.73 kB / 1.092 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.7607, allocations: 0 / 1.092 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.7607, allocations: 12 kB / 1.092 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.026e-05/0.7608, allocations: 15.97 kB / 1.092 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.7608, allocations: 4 kB / 1.092 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.7611, allocations: 75.73 kB / 1.092 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.7611, allocations: 19.91 kB / 1.092 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.7612, allocations: 8 kB / 1.092 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.7613, allocations: 50.05 kB / 1.092 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.7613, allocations: 3.938 kB / 1.092 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.31e-07/0.7613, allocations: 0 / 1.092 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.7614, allocations: 0 / 1.092 GB, free: 15.75 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.0004121/0.7618, allocations: 343.4 kB / 1.092 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.7618, allocations: 8.031 kB / 1.093 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.7621, allocations: 24.92 kB / 1.093 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.7622, allocations: 164.4 kB / 1.093 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/0.7623, allocations: 29.64 kB / 1.093 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.7623, allocations: 0 / 1.093 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.7624, allocations: 49.67 kB / 1.093 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7624, allocations: 0 / 1.093 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.7625, allocations: 0 / 1.093 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.7625, allocations: 7.938 kB / 1.093 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.556e-05/0.7625, allocations: 19.98 kB / 1.093 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.7629, allocations: 260.8 kB / 1.093 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.779e-05/0.763, allocations: 18.58 kB / 1.093 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.763, allocations: 8.844 kB / 1.093 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.763, allocations: 0 / 1.093 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.7631, allocations: 38.5 kB / 1.093 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.7631, allocations: 0 / 1.093 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.7632, allocations: 37.77 kB / 1.093 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.7632, allocations: 59.33 kB / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.7633, allocations: 101.9 kB / 1.093 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.7634, allocations: 25.7 kB / 1.093 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.7634, allocations: 95.97 kB / 1.093 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/0.7634, allocations: 3.906 kB / 1.093 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.7635, allocations: 21.84 kB / 1.093 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.7636, allocations: 310.8 kB / 1.094 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.7636, allocations: 7.984 kB / 1.094 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.7636, allocations: 22.58 kB / 1.094 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.7637, allocations: 34.52 kB / 1.094 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7637, allocations: 0 / 1.094 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.558e-05/0.7638, allocations: 53.62 kB / 1.094 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.7638, allocations: 4 kB / 1.094 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.7638, allocations: 4 kB / 1.094 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.7638, allocations: 0 / 1.094 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.7639, allocations: 11.92 kB / 1.094 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.7639, allocations: 11.88 kB / 1.094 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/0.7639, allocations: 0 / 1.094 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.764, allocations: 4.094 kB / 1.094 GB, free: 13.76 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 7.182e-05/0.764, allocations: 113.8 kB / 1.094 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.7641, allocations: 3.906 kB / 1.094 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.7641, allocations: 11.06 kB / 1.094 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.7641, allocations: 0 / 1.094 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7641, allocations: 4.188 kB / 1.094 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7641, allocations: 0 / 1.094 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.7644, allocations: 350.8 kB / 1.094 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7644, allocations: 0 / 1.094 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.7644, allocations: 7.938 kB / 1.094 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.7644, allocations: 3.938 kB / 1.094 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.7644, allocations: 0 / 1.094 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7644, allocations: 0 / 1.094 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7644, allocations: 0 / 1.094 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.086e-05/0.7645, allocations: 61.12 kB / 1.094 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.7646, allocations: 85.11 kB / 1.094 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.7646, allocations: 0 / 1.094 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.7647, allocations: 4 kB / 1.094 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-06/0.7647, allocations: 0 / 1.094 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.7647, allocations: 0 / 1.094 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.7647, allocations: 87.27 kB / 1.095 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7647, allocations: 0 / 1.095 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001964/0.7649, allocations: 8 kB / 1.095 GB, free: 12.93 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.88e-05/0.7651, allocations: 99.25 kB / 1.095 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.112e-05/0.7651, allocations: 23.92 kB / 1.095 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7652, allocations: 0 / 1.095 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.07e-06/0.7652, allocations: 0 / 1.095 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.7654, allocations: 4 kB / 1.095 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.7657, allocations: 162 kB / 1.095 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.7659, allocations: 0.677 MB / 1.096 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.7659, allocations: 11.44 kB / 1.096 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.7659, allocations: 0 / 1.096 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of Templates: time 0.001829/0.7678, allocations: 0.5496 MB / 1.096 GB, free: 11.34 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