Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001938/0.001938, allocations: 111.2 kB / 16.38 MB, free: 6.012 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.00199/0.00199, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.885/1.885, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 4.201/4.201, allocations: 442.6 MB / 0.7166 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002359/0.00236, allocations: 61.3 kB / 0.8774 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3997, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 1.026/1.426, allocations: 147.8 MB / 1.171 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002002/1.426, allocations: 44.25 kB / 1.171 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/1.426, allocations: 9.438 kB / 1.171 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/1.426, allocations: 6.422 kB / 1.171 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/1.427, allocations: 17 kB / 1.171 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/1.427, allocations: 101.2 kB / 1.171 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/1.427, allocations: 33.02 kB / 1.171 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/1.427, allocations: 8.609 kB / 1.171 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.774e-05/1.428, allocations: 11.41 kB / 1.171 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/1.428, allocations: 20.27 kB / 1.171 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/1.428, allocations: 1 kB / 1.171 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/1.428, allocations: 83.53 kB / 1.171 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/1.428, allocations: 9.609 kB / 1.171 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/1.428, allocations: 11.47 kB / 1.171 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/1.428, allocations: 69.09 kB / 1.172 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.428, allocations: 0 / 1.172 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.274e-06/1.428, allocations: 0 / 1.172 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.7e-06/1.428, allocations: 0 / 1.172 GB, free: 12.33 MB / 0.8887 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.000554/1.429, allocations: 342.2 kB / 1.172 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/1.429, allocations: 10.69 kB / 1.172 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/1.429, allocations: 22.7 kB / 1.172 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/1.43, allocations: 162.5 kB / 1.172 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/1.43, allocations: 33.45 kB / 1.172 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/1.43, allocations: 0 / 1.172 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/1.43, allocations: 52.38 kB / 1.172 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.43, allocations: 4 kB / 1.172 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/1.43, allocations: 0 / 1.172 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/1.43, allocations: 2.5 kB / 1.172 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.442e-05/1.43, allocations: 31.19 kB / 1.172 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/1.431, allocations: 260.3 kB / 1.172 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.942e-05/1.431, allocations: 15.86 kB / 1.172 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/1.431, allocations: 10.3 kB / 1.172 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/1.431, allocations: 0 / 1.172 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/1.431, allocations: 33.66 kB / 1.172 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/1.431, allocations: 0 / 1.172 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002073/1.431, allocations: 40.27 kB / 1.173 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.431, allocations: 51.41 kB / 1.173 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/1.431, allocations: 111.4 kB / 1.173 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/1.431, allocations: 33.77 kB / 1.173 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/1.431, allocations: 90.08 kB / 1.173 GB, free: 11 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.358e-06/1.431, allocations: 4.969 kB / 1.173 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/1.431, allocations: 18.89 kB / 1.173 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001671/1.432, allocations: 311.8 kB / 1.173 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/1.432, allocations: 6 kB / 1.173 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/1.432, allocations: 23.67 kB / 1.173 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/1.432, allocations: 36.48 kB / 1.173 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.432, allocations: 0 / 1.173 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001617/1.432, allocations: 54.33 kB / 1.173 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.432, allocations: 6.344 kB / 1.173 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.432, allocations: 0 / 1.173 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/1.432, allocations: 3.219 kB / 1.173 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/1.432, allocations: 10.16 kB / 1.173 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/1.432, allocations: 1.5 kB / 1.173 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/1.432, allocations: 9.438 kB / 1.173 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/1.432, allocations: 1.5 kB / 1.173 GB, free: 10.55 MB / 0.8887 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 0.000117/1.432, allocations: 121.3 kB / 1.173 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/1.433, allocations: 1.562 kB / 1.173 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/1.433, allocations: 7.188 kB / 1.173 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.433, allocations: 0 / 1.173 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.433, allocations: 0 / 1.173 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/1.433, allocations: 86.33 kB / 1.173 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/1.433, allocations: 1.094 kB / 1.173 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/1.433, allocations: 7.562 kB / 1.173 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/1.433, allocations: 1.219 kB / 1.173 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.867e-05/1.433, allocations: 107.1 kB / 1.174 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001674/1.433, allocations: 216.2 kB / 1.174 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.908e-05/1.433, allocations: 4.781 kB / 1.174 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.228e-05/1.433, allocations: 85.94 kB / 1.174 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of Backend: time 4.11e-07/1.433, allocations: 0 / 1.174 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006657/1.434, allocations: 112.5 kB / 1.174 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of SimCode: time 0.000691/1.435, allocations: 0.565 MB / 1.175 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of Templates: time 0.004288/1.439, allocations: 0.7247 MB / 1.175 GB, free: 9.176 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches