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.008431/0.008431, allocations: 103.8 kB / 15.74 MB, free: 6.445 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.001773/0.001773, allocations: 196.1 kB / 16.67 MB, free: 6.352 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.677/2.677, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001133, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3569, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.9296/1.287, allocations: 147.8 MB / 1.311 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001412/1.287, allocations: 52.39 kB / 1.311 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/1.287, allocations: 7.938 kB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/1.287, allocations: 1.703 kB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/1.287, allocations: 11.66 kB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/1.288, allocations: 102.6 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/1.288, allocations: 35.36 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/1.288, allocations: 2.156 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.246e-05/1.288, allocations: 19 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/1.288, allocations: 22.78 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/1.288, allocations: 0 / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/1.289, allocations: 77.34 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/1.289, allocations: 11.11 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/1.289, allocations: 10.34 kB / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/1.289, allocations: 75.2 kB / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.289, allocations: 0 / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.064e-06/1.289, allocations: 0.7969 kB / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.678e-06/1.289, allocations: 0 / 1.311 GB, free: 12.95 MB / 1.014 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.000519/1.289, allocations: 344.1 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/1.29, allocations: 9.5 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/1.29, allocations: 17.3 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/1.29, allocations: 166.9 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/1.29, allocations: 31.44 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/1.29, allocations: 1.219 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/1.29, allocations: 45.95 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/1.29, allocations: 4 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/1.29, allocations: 0 / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/1.29, allocations: 11.38 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/1.29, allocations: 21.41 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/1.291, allocations: 257.2 kB / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.01e-05/1.291, allocations: 20.88 kB / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/1.291, allocations: 6.141 kB / 1.312 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.261e-06/1.291, allocations: 1.25 kB / 1.312 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/1.291, allocations: 38.78 kB / 1.312 GB, free: 11.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/1.291, allocations: 1.219 kB / 1.312 GB, free: 11.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.000158/1.291, allocations: 33.84 kB / 1.312 GB, free: 11.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/1.291, allocations: 52.59 kB / 1.312 GB, free: 11.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/1.291, allocations: 107.8 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/1.291, allocations: 31.11 kB / 1.313 GB, free: 11.74 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/1.291, allocations: 98.08 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.555e-06/1.291, allocations: 1.125 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/1.291, allocations: 18.06 kB / 1.313 GB, free: 11.63 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.291, allocations: 312.1 kB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/1.291, allocations: 4.453 kB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.17e-05/1.291, allocations: 28.58 kB / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/1.292, allocations: 35.62 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.292, allocations: 0 / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.098e-05/1.292, allocations: 56.55 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.292, allocations: 5.25 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.292, allocations: 1.375 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.292, allocations: 9.953 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/1.292, allocations: 6.5 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.292, allocations: 9.672 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/1.292, allocations: 4.562 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/1.292, allocations: 2.156 kB / 1.313 GB, free: 11.2 MB / 1.014 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.038e-05/1.292, allocations: 109.2 kB / 1.313 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/1.292, allocations: 1.922 kB / 1.313 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/1.292, allocations: 5.672 kB / 1.313 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/1.292, allocations: 0 / 1.313 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/1.292, allocations: 9.344 kB / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.292, allocations: 1.703 kB / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/1.292, allocations: 343 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.292, allocations: 0 / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/1.292, allocations: 7.438 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/1.292, allocations: 4.547 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/1.292, allocations: 1.281 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/1.292, allocations: 3.625 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.292, allocations: 4.828 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.564e-05/1.292, allocations: 60.41 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/1.292, allocations: 79.56 kB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/1.292, allocations: 5.344 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/1.293, allocations: 3.812 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/1.293, allocations: 0.5625 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/1.293, allocations: 1.281 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.23e-05/1.293, allocations: 89.09 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.293, allocations: 5.188 kB / 1.314 GB, free: 10.44 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001916/1.293, allocations: 5.281 kB / 1.314 GB, free: 10.44 MB / 1.014 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.327e-05/1.293, allocations: 97.88 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.876e-05/1.293, allocations: 22.34 kB / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.293, allocations: 1.094 kB / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.139e-06/1.293, allocations: 1.125 kB / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/1.293, allocations: 8.766 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/1.294, allocations: 107.5 kB / 1.314 GB, free: 10.24 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/1.294, allocations: 0.6752 MB / 1.315 GB, free: 9.547 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.943e-05/1.294, allocations: 10.97 kB / 1.315 GB, free: 9.543 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/1.294, allocations: 12.72 kB / 1.315 GB, free: 9.531 MB / 1.014 GB Notification: Performance of SimCode: time 2.51e-07/1.294, allocations: 3.938 kB / 1.315 GB, free: 9.527 MB / 1.014 GB Notification: Performance of Templates: time 0.002855/1.297, allocations: 0.4928 MB / 1.315 GB, free: 9.488 MB / 1.014 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