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.001193/0.001193, allocations: 113.5 kB / 16.37 MB, free: 6.004 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.001211/0.001211, 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.36/1.36, 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 10.1.0-maint.10.0.x/package.mo): time 2.507/2.507, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 65.48 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3303, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7785/1.109, allocations: 147.8 MB / 1.163 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0001628/1.109, allocations: 52.75 kB / 1.163 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/1.109, allocations: 0 / 1.163 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/1.109, allocations: 7.094 kB / 1.163 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 8.397e-05/1.109, allocations: 17.69 kB / 1.163 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/1.11, allocations: 101.1 kB / 1.163 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/1.11, allocations: 37.75 kB / 1.163 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/1.11, allocations: 1.188 kB / 1.163 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/1.11, allocations: 16.08 kB / 1.163 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/1.11, allocations: 17.31 kB / 1.163 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/1.11, allocations: 0.9375 kB / 1.163 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/1.11, allocations: 84.97 kB / 1.163 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/1.11, allocations: 3.781 kB / 1.163 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/1.11, allocations: 15.19 kB / 1.164 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/1.111, allocations: 64.8 kB / 1.164 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.111, allocations: 4 kB / 1.164 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.723e-06/1.111, allocations: 0 / 1.164 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.792e-06/1.111, allocations: 1.219 kB / 1.164 GB, free: 5.762 MB / 0.8731 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.0005226/1.111, allocations: 339.1 kB / 1.164 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.111, allocations: 10.25 kB / 1.164 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/1.112, allocations: 20.75 kB / 1.164 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.112, allocations: 165.6 kB / 1.164 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/1.112, allocations: 34.8 kB / 1.164 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/1.112, allocations: 1.75 kB / 1.164 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/1.112, allocations: 47.12 kB / 1.164 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.112, allocations: 0 / 1.164 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/1.112, allocations: 5 kB / 1.164 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/1.112, allocations: 3.859 kB / 1.164 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.983e-05/1.112, allocations: 16.66 kB / 1.164 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/1.113, allocations: 265.3 kB / 1.164 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.597e-05/1.113, allocations: 22.08 kB / 1.164 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/1.113, allocations: 5.828 kB / 1.164 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/1.113, allocations: 1.125 kB / 1.164 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.113, allocations: 32 kB / 1.164 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.113, allocations: 0 / 1.164 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001524/1.113, allocations: 42.86 kB / 1.165 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/1.113, allocations: 53.33 kB / 1.165 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/1.113, allocations: 110.6 kB / 1.165 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/1.113, allocations: 25.7 kB / 1.165 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/1.113, allocations: 89.17 kB / 1.165 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/1.113, allocations: 7.266 kB / 1.165 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/1.113, allocations: 18.12 kB / 1.165 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002696/1.114, allocations: 312.1 kB / 1.165 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/1.114, allocations: 9.062 kB / 1.165 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/1.114, allocations: 24.17 kB / 1.165 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/1.114, allocations: 32.42 kB / 1.165 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.114, allocations: 0 / 1.165 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.807e-05/1.114, allocations: 59.28 kB / 1.165 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.114, allocations: 4.594 kB / 1.165 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.114, allocations: 2.25 kB / 1.165 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/1.114, allocations: 1.594 kB / 1.165 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/1.114, allocations: 8.875 kB / 1.165 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.114, allocations: 5.438 kB / 1.165 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/1.114, allocations: 1.531 kB / 1.165 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/1.114, allocations: 1.188 kB / 1.165 GB, free: 3.988 MB / 0.8731 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.461e-05/1.114, allocations: 121.2 kB / 1.165 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/1.114, allocations: 9.297 kB / 1.165 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/1.114, allocations: 8.344 kB / 1.165 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/1.114, allocations: 0 / 1.165 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.114, allocations: 3.938 kB / 1.165 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/1.114, allocations: 3.938 kB / 1.165 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/1.115, allocations: 348.2 kB / 1.166 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.115, allocations: 1.125 kB / 1.166 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/1.115, allocations: 5.219 kB / 1.166 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.115, allocations: 6.188 kB / 1.166 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/1.115, allocations: 0.9375 kB / 1.166 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/1.115, allocations: 0 / 1.166 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.115, allocations: 4.875 kB / 1.166 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/1.115, allocations: 62.2 kB / 1.166 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/1.115, allocations: 77.11 kB / 1.166 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/1.115, allocations: 7.109 kB / 1.166 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/1.115, allocations: 6.344 kB / 1.166 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/1.115, allocations: 0 / 1.166 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/1.115, allocations: 1.094 kB / 1.166 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.471e-05/1.115, allocations: 87.58 kB / 1.166 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.115, allocations: 0 / 1.166 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002123/1.115, allocations: 5.844 kB / 1.166 GB, free: 3.203 MB / 0.8731 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.0002056/1.116, allocations: 97.22 kB / 1.166 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001047/1.116, allocations: 22.95 kB / 1.166 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.116, allocations: 1.469 kB / 1.166 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.813e-06/1.116, allocations: 1.344 kB / 1.166 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/1.116, allocations: 10.52 kB / 1.166 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/1.116, allocations: 120.3 kB / 1.166 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/1.117, allocations: 0.6767 MB / 1.167 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.873e-05/1.117, allocations: 10.42 kB / 1.167 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/1.117, allocations: 9.062 kB / 1.167 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.117, allocations: 0 / 1.167 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of Templates: time 0.003498/1.12, allocations: 0.4994 MB / 1.167 GB, free: 2.211 MB / 0.8731 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 -s cvode -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