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.001473/0.001473, allocations: 112.6 kB / 16.37 MB, free: 6 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.001593/0.001593, allocations: 196 kB / 17.31 MB, free: 5.613 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 60.06 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3384, 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 0.7294/1.068, allocations: 147.8 MB / 1.171 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001346/1.068, allocations: 44.52 kB / 1.171 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/1.068, allocations: 1.188 kB / 1.171 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/1.068, allocations: 10.03 kB / 1.171 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.359e-05/1.068, allocations: 12.89 kB / 1.171 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/1.069, allocations: 116.5 kB / 1.171 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.738e-05/1.069, allocations: 34.83 kB / 1.171 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/1.069, allocations: 4.031 kB / 1.171 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.662e-05/1.069, allocations: 11.44 kB / 1.171 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/1.069, allocations: 16.36 kB / 1.171 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/1.069, allocations: 1.094 kB / 1.171 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/1.069, allocations: 83.91 kB / 1.171 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/1.069, allocations: 9.203 kB / 1.171 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/1.069, allocations: 12.25 kB / 1.171 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/1.07, allocations: 63.5 kB / 1.172 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.07, allocations: 5.438 kB / 1.172 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/1.07, allocations: 0 / 1.172 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.588e-06/1.07, allocations: 0 / 1.172 GB, free: 12.32 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.0003904/1.07, allocations: 339.7 kB / 1.172 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/1.07, allocations: 13.06 kB / 1.172 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/1.07, allocations: 18.53 kB / 1.172 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/1.07, allocations: 162.4 kB / 1.172 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/1.07, allocations: 34.77 kB / 1.172 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/1.07, allocations: 9.047 kB / 1.172 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/1.071, allocations: 43.02 kB / 1.172 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/1.071, allocations: 0 / 1.172 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/1.071, allocations: 0 / 1.172 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/1.071, allocations: 2.656 kB / 1.172 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.498e-05/1.071, allocations: 19.23 kB / 1.172 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/1.071, allocations: 271.8 kB / 1.172 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.883e-05/1.071, allocations: 19.83 kB / 1.172 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/1.071, allocations: 6.109 kB / 1.172 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/1.071, allocations: 2.531 kB / 1.172 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/1.071, allocations: 32.72 kB / 1.172 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.071, allocations: 1.094 kB / 1.172 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001383/1.071, allocations: 39.11 kB / 1.172 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/1.071, allocations: 51.41 kB / 1.173 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/1.072, allocations: 110.3 kB / 1.173 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/1.072, allocations: 26.98 kB / 1.173 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/1.072, allocations: 93.27 kB / 1.173 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/1.072, allocations: 5.25 kB / 1.173 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/1.072, allocations: 18.22 kB / 1.173 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.072, allocations: 312.2 kB / 1.173 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/1.072, allocations: 11.28 kB / 1.173 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/1.072, allocations: 24.77 kB / 1.173 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.163e-05/1.072, allocations: 31.8 kB / 1.173 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.072, allocations: 0 / 1.173 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.545e-05/1.072, allocations: 57.48 kB / 1.173 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/1.072, allocations: 5.406 kB / 1.173 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.072, allocations: 4.906 kB / 1.173 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.072, allocations: 5.188 kB / 1.173 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/1.072, allocations: 6.125 kB / 1.173 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/1.072, allocations: 3.938 kB / 1.173 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.982e-05/1.072, allocations: 8.812 kB / 1.173 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/1.072, allocations: 1.375 kB / 1.173 GB, free: 10.54 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 7.812e-05/1.072, allocations: 116.6 kB / 1.173 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/1.072, allocations: 5.094 kB / 1.173 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/1.072, allocations: 10.31 kB / 1.173 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/1.072, allocations: 0 / 1.173 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.072, allocations: 5.156 kB / 1.173 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/1.072, allocations: 0 / 1.173 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/1.073, allocations: 338.6 kB / 1.174 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.073, allocations: 3.531 kB / 1.174 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.317e-05/1.073, allocations: 5.219 kB / 1.174 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.073, allocations: 9.062 kB / 1.174 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/1.073, allocations: 3.984 kB / 1.174 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.073, allocations: 0 / 1.174 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.073, allocations: 1.156 kB / 1.174 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.585e-05/1.073, allocations: 61.77 kB / 1.174 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/1.073, allocations: 78.33 kB / 1.174 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/1.073, allocations: 4.906 kB / 1.174 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/1.073, allocations: 8 kB / 1.174 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/1.073, allocations: 1.125 kB / 1.174 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/1.073, allocations: 0 / 1.174 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.888e-05/1.073, allocations: 88.12 kB / 1.174 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.073, allocations: 0 / 1.174 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001902/1.073, allocations: 6.562 kB / 1.174 GB, free: 9.754 MB / 0.8887 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.0001076/1.073, allocations: 98.66 kB / 1.174 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.052e-05/1.073, allocations: 16.47 kB / 1.174 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.073, allocations: 1 kB / 1.174 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.471e-06/1.073, allocations: 2.062 kB / 1.174 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/1.074, allocations: 13.94 kB / 1.174 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/1.074, allocations: 118.7 kB / 1.174 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/1.074, allocations: 0.6776 MB / 1.175 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 4.966e-05/1.074, allocations: 9.938 kB / 1.175 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/1.074, allocations: 9.844 kB / 1.175 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of SimCode: time 2.4e-07/1.074, allocations: 0 / 1.175 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of Templates: time 0.002412/1.077, allocations: 0.5016 MB / 1.175 GB, free: 8.789 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 -s cvode -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