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.001167/0.001167, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001182/0.001182, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.441/2.441, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 64.12 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6855/0.687, allocations: 151.6 MB / 1.167 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1408/0.8278, allocations: 147.8 MB / 1.312 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.8279, allocations: 51.88 kB / 1.312 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.828, allocations: 0 / 1.312 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.809e-05/0.8281, allocations: 7.922 kB / 1.312 GB, free: 15.58 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.8282, allocations: 11.92 kB / 1.312 GB, free: 15.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.8286, allocations: 109.3 kB / 1.312 GB, free: 15.46 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.979e-05/0.8287, allocations: 39.8 kB / 1.312 GB, free: 15.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.161e-05/0.8287, allocations: 3.984 kB / 1.312 GB, free: 15.42 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.8288, allocations: 15.98 kB / 1.312 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.8289, allocations: 7.984 kB / 1.312 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.8289, allocations: 3.938 kB / 1.312 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.8291, allocations: 83.78 kB / 1.312 GB, free: 15.31 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.8292, allocations: 23.86 kB / 1.312 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.8292, allocations: 7.984 kB / 1.312 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.8294, allocations: 76.7 kB / 1.312 GB, free: 15.21 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8294, allocations: 4 kB / 1.312 GB, free: 15.2 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8294, allocations: 0 / 1.312 GB, free: 15.2 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.8294, allocations: 0 / 1.312 GB, free: 15.2 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.0003247/0.8297, allocations: 331.5 kB / 1.312 GB, free: 14.83 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.8298, allocations: 8.031 kB / 1.312 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.83, allocations: 20.92 kB / 1.312 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.8301, allocations: 168.3 kB / 1.313 GB, free: 14.6 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.8302, allocations: 33.64 kB / 1.313 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-06/0.8302, allocations: 0 / 1.313 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.8303, allocations: 45.69 kB / 1.313 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.8303, allocations: 0 / 1.313 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.8303, allocations: 0 / 1.313 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.8303, allocations: 3.938 kB / 1.313 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.8304, allocations: 23.98 kB / 1.313 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.8308, allocations: 260.9 kB / 1.313 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 2.951e-05/0.8308, allocations: 18.58 kB / 1.313 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.8308, allocations: 4.859 kB / 1.313 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.8308, allocations: 3.984 kB / 1.313 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.8309, allocations: 46.42 kB / 1.313 GB, free: 14.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.8309, allocations: 0 / 1.313 GB, free: 14.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.831, allocations: 37.77 kB / 1.313 GB, free: 14.04 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.831, allocations: 51.41 kB / 1.313 GB, free: 13.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.8311, allocations: 109.8 kB / 1.313 GB, free: 13.86 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.8311, allocations: 25.7 kB / 1.313 GB, free: 13.83 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.8312, allocations: 91.98 kB / 1.313 GB, free: 13.74 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.194e-06/0.8312, allocations: 8 kB / 1.313 GB, free: 13.73 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.8312, allocations: 13.84 kB / 1.313 GB, free: 13.71 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.8313, allocations: 322.8 kB / 1.314 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.8313, allocations: 0 / 1.314 GB, free: 13.39 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.8314, allocations: 22.58 kB / 1.314 GB, free: 13.36 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.955e-05/0.8314, allocations: 38.5 kB / 1.314 GB, free: 13.31 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8314, allocations: 0 / 1.314 GB, free: 13.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.5e-05/0.8315, allocations: 53.59 kB / 1.314 GB, free: 13.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.8315, allocations: 7.984 kB / 1.314 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.8315, allocations: 0 / 1.314 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.8316, allocations: 4 kB / 1.314 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-05/0.8316, allocations: 4 kB / 1.314 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.8316, allocations: 7.875 kB / 1.314 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.8317, allocations: 7.938 kB / 1.314 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.8317, allocations: 8.094 kB / 1.314 GB, free: 13.21 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 6.123e-05/0.8317, allocations: 109.8 kB / 1.314 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.8318, allocations: 0 / 1.314 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.8318, allocations: 7.125 kB / 1.314 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8318, allocations: 3.984 kB / 1.314 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8318, allocations: 0 / 1.314 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.8319, allocations: 81.05 kB / 1.314 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.8319, allocations: 256 / 1.314 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.832, allocations: 8 kB / 1.314 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-06/0.832, allocations: 4 kB / 1.314 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.365e-05/0.8321, allocations: 113 kB / 1.314 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001001/0.8322, allocations: 210.7 kB / 1.314 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.249e-05/0.8322, allocations: 4 kB / 1.314 GB, free: 12.62 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.943e-05/0.8323, allocations: 83.27 kB / 1.314 GB, free: 12.54 MB / 1.045 GB Notification: Performance of Backend: time 4.61e-07/0.8323, allocations: 8 kB / 1.314 GB, free: 12.54 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.8326, allocations: 121.4 kB / 1.315 GB, free: 12.41 MB / 1.045 GB Notification: Performance of SimCode: time 0.0004004/0.8331, allocations: 0.5582 MB / 1.315 GB, free: 11.81 MB / 1.045 GB Notification: Performance of Templates: time 0.002712/0.8358, allocations: 0.706 MB / 1.316 GB, free: 11.11 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/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