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.001031/0.001031, allocations: 99.5 kB / 16.02 MB, free: 76 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.00133/0.00133, allocations: 181.1 kB / 16.92 MB, free: 6.895 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.352 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.727/2.727, allocations: 437.8 MB / 0.7128 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 8 kB / 0.8735 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6602/0.6605, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1553/0.8159, allocations: 143.7 MB / 1.164 GB, free: 15.63 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.8161, allocations: 59.78 kB / 1.164 GB, free: 15.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.8161, allocations: 0 / 1.164 GB, free: 15.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.671e-05/0.8162, allocations: 3.938 kB / 1.164 GB, free: 15.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.8163, allocations: 7.984 kB / 1.164 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.8168, allocations: 107.6 kB / 1.164 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.893e-05/0.8169, allocations: 59.88 kB / 1.164 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.8169, allocations: 0 / 1.164 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.817, allocations: 15.92 kB / 1.164 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.8171, allocations: 11.94 kB / 1.164 GB, free: 15.37 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.8171, allocations: 0 / 1.164 GB, free: 15.37 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.8174, allocations: 87.78 kB / 1.164 GB, free: 15.28 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.8174, allocations: 7.969 kB / 1.164 GB, free: 15.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.8175, allocations: 37.64 kB / 1.164 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.8176, allocations: 49.91 kB / 1.164 GB, free: 15.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8176, allocations: 4 kB / 1.164 GB, free: 15.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.286e-06/0.8176, allocations: 0 / 1.164 GB, free: 15.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.8176, allocations: 3.938 kB / 1.164 GB, free: 15.18 MB / 0.92 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.0003761/0.818, allocations: 327.5 kB / 1.165 GB, free: 14.81 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.8181, allocations: 8.031 kB / 1.165 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.8183, allocations: 24.91 kB / 1.165 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.8185, allocations: 172.4 kB / 1.165 GB, free: 14.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/0.8186, allocations: 33.62 kB / 1.165 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.8186, allocations: 0 / 1.165 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.8187, allocations: 49.67 kB / 1.165 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.8187, allocations: 0 / 1.165 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.8187, allocations: 0 / 1.165 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.8188, allocations: 4 kB / 1.165 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.493e-05/0.8188, allocations: 19.92 kB / 1.165 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.8192, allocations: 264.8 kB / 1.165 GB, free: 14.14 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.237e-05/0.8193, allocations: 18.58 kB / 1.165 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.8193, allocations: 4.859 kB / 1.165 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-06/0.8193, allocations: 0 / 1.165 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.8193, allocations: 30.56 kB / 1.165 GB, free: 14.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.8193, allocations: 64 / 1.165 GB, free: 14.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.8195, allocations: 45.64 kB / 1.165 GB, free: 14.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.8196, allocations: 55.34 kB / 1.165 GB, free: 13.95 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.8196, allocations: 109.8 kB / 1.166 GB, free: 13.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.8197, allocations: 25.7 kB / 1.166 GB, free: 13.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.8197, allocations: 91.98 kB / 1.166 GB, free: 13.71 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.8198, allocations: 7.891 kB / 1.166 GB, free: 13.7 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.8198, allocations: 17.66 kB / 1.166 GB, free: 13.68 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8199, allocations: 311 kB / 1.166 GB, free: 13.37 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.8199, allocations: 8 kB / 1.166 GB, free: 13.36 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.82, allocations: 26.56 kB / 1.166 GB, free: 13.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.82, allocations: 26.52 kB / 1.166 GB, free: 13.29 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.82, allocations: 0 / 1.166 GB, free: 13.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.769e-05/0.8201, allocations: 65.56 kB / 1.166 GB, free: 13.22 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.8202, allocations: 8 kB / 1.166 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.8202, allocations: 0 / 1.166 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.8202, allocations: 0 / 1.166 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.8202, allocations: 8 kB / 1.166 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/0.8203, allocations: 7.922 kB / 1.166 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.8203, allocations: 0 / 1.166 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.8203, allocations: 4 kB / 1.166 GB, free: 13.19 MB / 0.92 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.527e-05/0.8204, allocations: 118.4 kB / 1.166 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.8204, allocations: 7.906 kB / 1.166 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.8205, allocations: 7.125 kB / 1.166 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.8205, allocations: 0 / 1.166 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8205, allocations: 3.938 kB / 1.166 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.8205, allocations: 0 / 1.166 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.8208, allocations: 338.8 kB / 1.167 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.8208, allocations: 4 kB / 1.167 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.8208, allocations: 3.984 kB / 1.167 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.8208, allocations: 7.969 kB / 1.167 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.8208, allocations: 0 / 1.167 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8208, allocations: 0 / 1.167 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8208, allocations: 0 / 1.167 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.895e-05/0.8209, allocations: 61.08 kB / 1.167 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.8209, allocations: 81.05 kB / 1.167 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.821, allocations: 7.984 kB / 1.167 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.8211, allocations: 4.031 kB / 1.167 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.8211, allocations: 0 / 1.167 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.8211, allocations: 4 kB / 1.167 GB, free: 12.45 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.8211, allocations: 83.27 kB / 1.167 GB, free: 12.37 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8211, allocations: 0 / 1.167 GB, free: 12.37 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001923/0.8213, allocations: 8 kB / 1.167 GB, free: 12.36 MB / 0.92 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 0.0001036/0.8215, allocations: 103.3 kB / 1.167 GB, free: 12.25 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.267e-05/0.8215, allocations: 15.94 kB / 1.167 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8215, allocations: 0 / 1.167 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.603e-06/0.8216, allocations: 4 kB / 1.167 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.8218, allocations: 8 kB / 1.167 GB, free: 12.22 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.8221, allocations: 146.2 kB / 1.167 GB, free: 12.04 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.8224, allocations: 0.6808 MB / 1.168 GB, free: 11.34 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.8224, allocations: 11.69 kB / 1.168 GB, free: 11.32 MB / 0.92 GB Notification: Performance of SimCode: time 1.603e-06/0.8224, allocations: 0 / 1.168 GB, free: 11.32 MB / 0.92 GB Notification: Performance of Templates: time 0.001907/0.8243, allocations: 0.5718 MB / 1.168 GB, free: 10.76 MB / 0.92 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/jenkins1/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