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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001094/0.001094, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001155/0.001156, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.854/2.854, allocations: 461.8 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 61.84 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3265, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1718/0.4983, allocations: 145.6 MB / 1.194 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.4985, allocations: 59.78 kB / 1.194 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.4986, allocations: 0 / 1.194 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.4987, allocations: 4 kB / 1.194 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.4989, allocations: 19.91 kB / 1.194 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.4994, allocations: 87.73 kB / 1.194 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.4996, allocations: 67.81 kB / 1.194 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.4996, allocations: 0 / 1.194 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.4997, allocations: 15.92 kB / 1.195 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.904e-05/0.4998, allocations: 15.98 kB / 1.195 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.4998, allocations: 4 kB / 1.195 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.5002, allocations: 83.66 kB / 1.195 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.5002, allocations: 3.984 kB / 1.195 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.5003, allocations: 19.92 kB / 1.195 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.5005, allocations: 64.12 kB / 1.195 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.5005, allocations: 4 kB / 1.195 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5005, allocations: 4 kB / 1.195 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.5006, allocations: 0 / 1.195 GB, free: 6.312 MB / 0.9512 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.0005457/0.5011, allocations: 339.5 kB / 1.195 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.5012, allocations: 8.031 kB / 1.195 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.5015, allocations: 16.92 kB / 1.195 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.5016, allocations: 164.4 kB / 1.195 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.5017, allocations: 37.64 kB / 1.195 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.5017, allocations: 4 kB / 1.195 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.5019, allocations: 49.61 kB / 1.195 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.5019, allocations: 0 / 1.195 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.5019, allocations: 0 / 1.195 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.502, allocations: 4 kB / 1.195 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/0.502, allocations: 19.98 kB / 1.195 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.5025, allocations: 264.8 kB / 1.196 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.909e-05/0.5026, allocations: 30.5 kB / 1.196 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.5026, allocations: 4.859 kB / 1.196 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-06/0.5026, allocations: 0 / 1.196 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.5027, allocations: 30.56 kB / 1.196 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5027, allocations: 0 / 1.196 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001637/0.5028, allocations: 37.86 kB / 1.196 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.5029, allocations: 55.34 kB / 1.196 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.503, allocations: 105.8 kB / 1.196 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.503, allocations: 25.7 kB / 1.196 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.5031, allocations: 99.88 kB / 1.196 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.5031, allocations: 4 kB / 1.196 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.5031, allocations: 17.72 kB / 1.196 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5033, allocations: 310.8 kB / 1.196 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.5033, allocations: 8.031 kB / 1.196 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.5033, allocations: 26.56 kB / 1.196 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.849e-05/0.5034, allocations: 26.58 kB / 1.196 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5034, allocations: 7.875 kB / 1.196 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.928e-05/0.5035, allocations: 57.62 kB / 1.196 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5035, allocations: 5.562 kB / 1.196 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5035, allocations: 0 / 1.196 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5035, allocations: 4 kB / 1.196 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.5036, allocations: 4 kB / 1.196 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5036, allocations: 3.938 kB / 1.196 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.5037, allocations: 11.84 kB / 1.196 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.5037, allocations: 3.984 kB / 1.196 GB, free: 4.316 MB / 0.9512 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.066e-05/0.5038, allocations: 113.8 kB / 1.197 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.5038, allocations: 4.094 kB / 1.197 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.5038, allocations: 11.12 kB / 1.197 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5038, allocations: 0 / 1.197 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5039, allocations: 3.938 kB / 1.197 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5039, allocations: 0 / 1.197 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.5041, allocations: 346.7 kB / 1.197 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5042, allocations: 0 / 1.197 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.5042, allocations: 0 / 1.197 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.5042, allocations: 12.22 kB / 1.197 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.5042, allocations: 0 / 1.197 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5042, allocations: 4 kB / 1.197 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5042, allocations: 0 / 1.197 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.996e-05/0.5043, allocations: 57.14 kB / 1.197 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.5043, allocations: 88.94 kB / 1.197 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5044, allocations: 0 / 1.197 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.5045, allocations: 4 kB / 1.197 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.5045, allocations: 7.969 kB / 1.197 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.5045, allocations: 0 / 1.197 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.495e-05/0.5045, allocations: 87.27 kB / 1.197 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5045, allocations: 0 / 1.197 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002321/0.5048, allocations: 8 kB / 1.197 GB, free: 3.48 MB / 0.9512 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.0001016/0.5049, allocations: 95.25 kB / 1.197 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.78e-05/0.505, allocations: 8 kB / 1.197 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.505, allocations: 4.188 kB / 1.197 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/0.505, allocations: 7.938 kB / 1.197 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.5053, allocations: 12.84 kB / 1.197 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.5056, allocations: 116.3 kB / 1.197 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.5059, allocations: 0.6731 MB / 1.198 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.977e-05/0.5059, allocations: 12.14 kB / 1.198 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.506, allocations: 7.438 kB / 1.198 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.506, allocations: 0 / 1.198 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of Templates: time 0.002824/0.5088, allocations: 499.1 kB / 1.199 GB, free: 2.035 MB / 0.9512 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/jenkins/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