Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007815/0.007815, allocations: 99.98 kB / 15.73 MB, free: 6.02 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.001541/0.001541, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.84 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9674/0.9688, allocations: 151.6 MB / 1.167 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.174/1.143, allocations: 147.8 MB / 1.311 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001357/1.143, allocations: 59.86 kB / 1.311 GB, free: 15.54 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/1.143, allocations: 0 / 1.311 GB, free: 15.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/1.143, allocations: 7.938 kB / 1.311 GB, free: 15.53 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/1.143, allocations: 15.91 kB / 1.311 GB, free: 15.51 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/1.144, allocations: 109 kB / 1.311 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.994e-05/1.144, allocations: 35.86 kB / 1.311 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/1.144, allocations: 7.984 kB / 1.311 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/1.144, allocations: 11.98 kB / 1.311 GB, free: 15.35 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/1.144, allocations: 12 kB / 1.311 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/1.144, allocations: 0 / 1.311 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/1.144, allocations: 91.64 kB / 1.311 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/1.144, allocations: 4 kB / 1.311 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/1.144, allocations: 15.97 kB / 1.311 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/1.144, allocations: 72.72 kB / 1.311 GB, free: 15.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.145, allocations: 0 / 1.311 GB, free: 15.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.303e-06/1.145, allocations: 4 kB / 1.311 GB, free: 15.16 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.488e-06/1.145, allocations: 0 / 1.311 GB, free: 15.16 MB / 1.045 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.0003982/1.145, allocations: 339.4 kB / 1.312 GB, free: 14.78 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/1.145, allocations: 8.031 kB / 1.312 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/1.145, allocations: 16.92 kB / 1.312 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/1.145, allocations: 164.3 kB / 1.312 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/1.145, allocations: 33.64 kB / 1.312 GB, free: 14.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/1.145, allocations: 4 kB / 1.312 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/1.146, allocations: 53.66 kB / 1.312 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/1.146, allocations: 0 / 1.312 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.146, allocations: 0 / 1.312 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/1.146, allocations: 3.984 kB / 1.312 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.361e-05/1.146, allocations: 23.92 kB / 1.312 GB, free: 14.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/1.146, allocations: 260.9 kB / 1.312 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.04e-05/1.146, allocations: 18.52 kB / 1.312 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/1.146, allocations: 8.922 kB / 1.312 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/1.146, allocations: 0 / 1.312 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/1.146, allocations: 34.56 kB / 1.312 GB, free: 14.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/1.146, allocations: 0 / 1.312 GB, free: 14.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001217/1.146, allocations: 33.64 kB / 1.312 GB, free: 14 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/1.146, allocations: 63.47 kB / 1.312 GB, free: 13.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/1.146, allocations: 105.8 kB / 1.313 GB, free: 13.81 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/1.146, allocations: 29.64 kB / 1.313 GB, free: 13.78 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/1.146, allocations: 99.97 kB / 1.313 GB, free: 13.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-06/1.146, allocations: 0 / 1.313 GB, free: 13.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/1.147, allocations: 13.72 kB / 1.313 GB, free: 13.66 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.147, allocations: 318.8 kB / 1.313 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/1.147, allocations: 0 / 1.313 GB, free: 13.34 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/1.147, allocations: 30.56 kB / 1.313 GB, free: 13.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/1.147, allocations: 30.52 kB / 1.313 GB, free: 13.26 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.147, allocations: 0 / 1.313 GB, free: 13.26 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.865e-05/1.147, allocations: 57.58 kB / 1.313 GB, free: 13.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.147, allocations: 8.094 kB / 1.313 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/1.147, allocations: 0 / 1.313 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.147, allocations: 4 kB / 1.313 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/1.147, allocations: 4 kB / 1.313 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/1.147, allocations: 7.922 kB / 1.313 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/1.147, allocations: 8 kB / 1.313 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/1.147, allocations: 0 / 1.313 GB, free: 13.16 MB / 1.045 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.941e-05/1.147, allocations: 113.8 kB / 1.313 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/1.147, allocations: 0 / 1.313 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/1.147, allocations: 7.125 kB / 1.313 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/1.147, allocations: 0 / 1.313 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.147, allocations: 7.938 kB / 1.313 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/1.147, allocations: 0 / 1.313 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/1.147, allocations: 346.8 kB / 1.314 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.147, allocations: 256 / 1.314 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/1.147, allocations: 4 kB / 1.314 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.147, allocations: 3.938 kB / 1.314 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/1.147, allocations: 7.969 kB / 1.314 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.147, allocations: 4 kB / 1.314 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.147, allocations: 3.938 kB / 1.314 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.972e-05/1.148, allocations: 57.08 kB / 1.314 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/1.148, allocations: 85.05 kB / 1.314 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/1.148, allocations: 0 / 1.314 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/1.148, allocations: 4 kB / 1.314 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/1.148, allocations: 4.031 kB / 1.314 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/1.148, allocations: 4 kB / 1.314 GB, free: 12.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.192e-05/1.148, allocations: 83.27 kB / 1.314 GB, free: 12.33 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.148, allocations: 0 / 1.314 GB, free: 12.33 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001947/1.148, allocations: 8 kB / 1.314 GB, free: 12.32 MB / 1.045 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.012e-05/1.148, allocations: 95.25 kB / 1.314 GB, free: 12.22 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.203e-05/1.148, allocations: 15.94 kB / 1.314 GB, free: 12.21 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.148, allocations: 192 / 1.314 GB, free: 12.21 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/1.148, allocations: 15.92 kB / 1.314 GB, free: 12.19 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/1.148, allocations: 8.5 kB / 1.314 GB, free: 12.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/1.149, allocations: 110.6 kB / 1.314 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/1.149, allocations: 0.6729 MB / 1.315 GB, free: 11.35 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.736e-05/1.149, allocations: 16.12 kB / 1.315 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/1.149, allocations: 7.438 kB / 1.315 GB, free: 11.33 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/1.149, allocations: 0 / 1.315 GB, free: 11.33 MB / 1.045 GB Notification: Performance of Templates: time 0.002439/1.151, allocations: 0.5097 MB / 1.315 GB, free: 10.83 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches