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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001109/0.001109, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001255/0.001255, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.957/2.957, allocations: 437.7 MB / 0.7117 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003867, allocations: 15.94 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8652/0.8656, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1597/1.025, allocations: 134 MB / 1.153 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000121/1.025, allocations: 55.69 kB / 1.153 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/1.026, allocations: 0 / 1.153 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/1.026, allocations: 4 kB / 1.153 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-05/1.026, allocations: 11.92 kB / 1.153 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/1.026, allocations: 87.73 kB / 1.153 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.642e-05/1.026, allocations: 47.81 kB / 1.153 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/1.026, allocations: 4 kB / 1.153 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/1.026, allocations: 12 kB / 1.154 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.556e-05/1.026, allocations: 23.84 kB / 1.154 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/1.026, allocations: 0 / 1.154 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/1.027, allocations: 39.84 kB / 1.154 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/1.027, allocations: 15.97 kB / 1.154 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/1.027, allocations: 33.7 kB / 1.154 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 9.938e-05/1.027, allocations: 29.94 kB / 1.154 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.027, allocations: 4 kB / 1.154 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.673e-06/1.027, allocations: 0 / 1.154 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.298e-06/1.027, allocations: 0 / 1.154 GB, free: 9.254 MB / 0.9044 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.000345/1.027, allocations: 331.3 kB / 1.154 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/1.027, allocations: 8.562 kB / 1.154 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/1.027, allocations: 19.98 kB / 1.154 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/1.028, allocations: 167 kB / 1.154 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/1.028, allocations: 29.64 kB / 1.154 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/1.028, allocations: 0 / 1.154 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/1.028, allocations: 49.67 kB / 1.154 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/1.028, allocations: 0 / 1.154 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.028, allocations: 0 / 1.154 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/1.028, allocations: 4 kB / 1.154 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.164e-05/1.028, allocations: 15.98 kB / 1.154 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/1.028, allocations: 268.8 kB / 1.155 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.754e-05/1.028, allocations: 22.52 kB / 1.155 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/1.028, allocations: 4.859 kB / 1.155 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/1.028, allocations: 0 / 1.155 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/1.028, allocations: 38.56 kB / 1.155 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/1.028, allocations: 0 / 1.155 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001153/1.028, allocations: 33.77 kB / 1.155 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/1.028, allocations: 55.34 kB / 1.155 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.277e-05/1.029, allocations: 105.8 kB / 1.155 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/1.029, allocations: 29.64 kB / 1.155 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/1.029, allocations: 103.9 kB / 1.155 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/1.029, allocations: 7.906 kB / 1.155 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/1.029, allocations: 0 / 1.155 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.029, allocations: 318.9 kB / 1.155 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/1.029, allocations: 4 kB / 1.155 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/1.029, allocations: 26.56 kB / 1.155 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/1.029, allocations: 4 kB / 1.155 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.029, allocations: 0 / 1.155 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.21e-05/1.029, allocations: 57.62 kB / 1.155 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.029, allocations: 8 kB / 1.155 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/1.029, allocations: 0 / 1.155 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/1.029, allocations: 0 / 1.155 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/1.029, allocations: 12 kB / 1.155 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.029, allocations: 3.938 kB / 1.155 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/1.029, allocations: 256 / 1.155 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/1.029, allocations: 8 kB / 1.155 GB, free: 7.32 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.989e-05/1.029, allocations: 113.8 kB / 1.155 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/1.029, allocations: 8.094 kB / 1.155 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.131e-05/1.029, allocations: 3.125 kB / 1.155 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/1.029, allocations: 0 / 1.155 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.029, allocations: 0 / 1.155 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.029, allocations: 0 / 1.155 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/1.03, allocations: 350.7 kB / 1.156 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.03, allocations: 0 / 1.156 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/1.03, allocations: 7.984 kB / 1.156 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/1.03, allocations: 4.031 kB / 1.156 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/1.03, allocations: 3.938 kB / 1.156 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.03, allocations: 0 / 1.156 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.03, allocations: 0 / 1.156 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.566e-05/1.03, allocations: 57.09 kB / 1.156 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/1.03, allocations: 81.2 kB / 1.156 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/1.03, allocations: 7.969 kB / 1.156 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/1.03, allocations: 8.031 kB / 1.156 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/1.03, allocations: 0 / 1.156 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/1.03, allocations: 0 / 1.156 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.118e-05/1.03, allocations: 87.27 kB / 1.156 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.03, allocations: 3.938 kB / 1.156 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002038/1.03, allocations: 11.95 kB / 1.156 GB, free: 6.48 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.569e-05/1.03, allocations: 103.2 kB / 1.156 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 5.849e-05/1.03, allocations: 12.06 kB / 1.156 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.03, allocations: 4.062 kB / 1.156 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/1.03, allocations: 3.938 kB / 1.156 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/1.03, allocations: 8 kB / 1.156 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/1.031, allocations: 120.5 kB / 1.156 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/1.031, allocations: 0.6731 MB / 1.157 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.571e-05/1.031, allocations: 12.05 kB / 1.157 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/1.031, allocations: 11.44 kB / 1.157 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/1.031, allocations: 0 / 1.157 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of Templates: time 0.002239/1.033, allocations: 467.8 kB / 1.157 GB, free: 5.027 MB / 0.9044 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