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.001532/0.001532, allocations: 103 kB / 16.36 MB, free: 5.879 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.001717/0.001717, allocations: 196.1 kB / 17.3 MB, free: 5.52 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.17 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.406/2.406, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 59.66 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2706, allocations: 151.6 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6434/0.914, allocations: 147.8 MB / 1.163 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0001339/0.9142, allocations: 47.77 kB / 1.163 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.9142, allocations: 1.062 kB / 1.163 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.9143, allocations: 3.938 kB / 1.163 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.9144, allocations: 13.53 kB / 1.163 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.9149, allocations: 110 kB / 1.163 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.915, allocations: 35.92 kB / 1.163 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.915, allocations: 2.125 kB / 1.163 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.9151, allocations: 15.53 kB / 1.163 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.9151, allocations: 16.31 kB / 1.163 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.9152, allocations: 2.25 kB / 1.163 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.9154, allocations: 88 kB / 1.163 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.9154, allocations: 5.5 kB / 1.163 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.9155, allocations: 16.61 kB / 1.163 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.9156, allocations: 67.58 kB / 1.164 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9157, allocations: 1.688 kB / 1.164 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9157, allocations: 1.25 kB / 1.164 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.9157, allocations: 0 / 1.164 GB, free: 5.715 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.0003847/0.9161, allocations: 339.4 kB / 1.164 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.9161, allocations: 9.656 kB / 1.164 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.9163, allocations: 22.72 kB / 1.164 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.9165, allocations: 170.7 kB / 1.164 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.9165, allocations: 31.05 kB / 1.164 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.9165, allocations: 1.531 kB / 1.164 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.9167, allocations: 47.16 kB / 1.164 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.9167, allocations: 0 / 1.164 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.9167, allocations: 0 / 1.164 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.9167, allocations: 9.422 kB / 1.164 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.9168, allocations: 19.73 kB / 1.164 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.9171, allocations: 262 kB / 1.164 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 3.598e-05/0.9172, allocations: 19.77 kB / 1.164 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.9172, allocations: 5.984 kB / 1.164 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.9172, allocations: 4 kB / 1.164 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.9173, allocations: 35.69 kB / 1.164 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.9173, allocations: 1.531 kB / 1.164 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.9174, allocations: 32.83 kB / 1.165 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.9174, allocations: 59.34 kB / 1.165 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.9175, allocations: 109 kB / 1.165 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.9175, allocations: 30.92 kB / 1.165 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.9176, allocations: 95.58 kB / 1.165 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.464e-06/0.9176, allocations: 5.125 kB / 1.165 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.9177, allocations: 16.28 kB / 1.165 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.9178, allocations: 314.1 kB / 1.165 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.9178, allocations: 5.594 kB / 1.165 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.9178, allocations: 23.52 kB / 1.165 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.819e-05/0.9179, allocations: 37.16 kB / 1.165 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9179, allocations: 0 / 1.165 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.899e-05/0.918, allocations: 52.12 kB / 1.165 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.918, allocations: 5.438 kB / 1.165 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.918, allocations: 1.125 kB / 1.165 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.918, allocations: 6.969 kB / 1.165 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.9181, allocations: 6.219 kB / 1.165 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.9181, allocations: 9.156 kB / 1.165 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.9181, allocations: 1.094 kB / 1.165 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.9181, allocations: 2.188 kB / 1.165 GB, free: 3.934 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 7.581e-05/0.9182, allocations: 113.5 kB / 1.165 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.9182, allocations: 5.031 kB / 1.165 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.9183, allocations: 4.188 kB / 1.165 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9183, allocations: 1.094 kB / 1.165 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.9183, allocations: 6 kB / 1.165 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.9183, allocations: 0 / 1.165 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.9185, allocations: 352.4 kB / 1.166 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9186, allocations: 0 / 1.166 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.9186, allocations: 2.125 kB / 1.166 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.9186, allocations: 3.938 kB / 1.166 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-06/0.9186, allocations: 1.125 kB / 1.166 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.9186, allocations: 2.438 kB / 1.166 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9186, allocations: 1.094 kB / 1.166 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.264e-05/0.9187, allocations: 63.45 kB / 1.166 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.9187, allocations: 79.8 kB / 1.166 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.9187, allocations: 4.844 kB / 1.166 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.9188, allocations: 3.922 kB / 1.166 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.9188, allocations: 1.281 kB / 1.166 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.9189, allocations: 0 / 1.166 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.9189, allocations: 91.03 kB / 1.166 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9189, allocations: 3.938 kB / 1.166 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001929/0.9191, allocations: 10.53 kB / 1.166 GB, free: 3.148 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 8.672e-05/0.9192, allocations: 103 kB / 1.166 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.9193, allocations: 19.88 kB / 1.166 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9193, allocations: 0 / 1.166 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-06/0.9193, allocations: 2.188 kB / 1.166 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.9195, allocations: 7.047 kB / 1.166 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.9198, allocations: 126.8 kB / 1.166 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.92, allocations: 0.6764 MB / 1.167 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.9201, allocations: 10.12 kB / 1.167 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.9201, allocations: 9.969 kB / 1.167 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9201, allocations: 0 / 1.167 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of Templates: time 0.002374/0.9225, allocations: 0.4935 MB / 1.167 GB, free: 2.16 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 gbode -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