Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001411/0.001411, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.00151/0.001511, allocations: 187 kB / 17.34 MB, free: 5.742 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.349/1.349, 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 9.1.3-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8193/0.8206, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1898/1.011, allocations: 147.8 MB / 1.233 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001593/1.011, allocations: 55.73 kB / 1.233 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/1.011, allocations: 0 / 1.233 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/1.011, allocations: 3.938 kB / 1.233 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.162e-05/1.011, allocations: 14.81 kB / 1.233 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/1.012, allocations: 111.9 kB / 1.233 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/1.012, allocations: 32.55 kB / 1.233 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.979e-05/1.012, allocations: 2.156 kB / 1.233 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/1.012, allocations: 17.61 kB / 1.233 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/1.012, allocations: 9.422 kB / 1.233 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/1.012, allocations: 1.344 kB / 1.233 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/1.012, allocations: 88.97 kB / 1.233 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/1.012, allocations: 15.61 kB / 1.233 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/1.012, allocations: 16.7 kB / 1.233 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/1.013, allocations: 70.59 kB / 1.233 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.013, allocations: 3.938 kB / 1.233 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/1.013, allocations: 0 / 1.233 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.336e-06/1.013, allocations: 1.125 kB / 1.233 GB, free: 6.328 MB / 0.9669 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.0004416/1.013, allocations: 335.9 kB / 1.234 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/1.013, allocations: 9.5 kB / 1.234 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/1.013, allocations: 24.48 kB / 1.234 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/1.013, allocations: 169.3 kB / 1.234 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/1.014, allocations: 32.02 kB / 1.234 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/1.014, allocations: 1 kB / 1.234 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/1.014, allocations: 48.08 kB / 1.234 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/1.014, allocations: 0 / 1.234 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.014, allocations: 0.9688 kB / 1.234 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/1.014, allocations: 5.641 kB / 1.234 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/1.014, allocations: 26.8 kB / 1.234 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/1.014, allocations: 254.8 kB / 1.234 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/1.014, allocations: 15.73 kB / 1.234 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/1.014, allocations: 9.953 kB / 1.234 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/1.014, allocations: 1.125 kB / 1.234 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/1.014, allocations: 35.66 kB / 1.234 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/1.014, allocations: 0 / 1.234 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001536/1.015, allocations: 39.61 kB / 1.234 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.015, allocations: 55.34 kB / 1.234 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/1.015, allocations: 106.6 kB / 1.235 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/1.015, allocations: 25.7 kB / 1.235 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/1.015, allocations: 93.23 kB / 1.235 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/1.015, allocations: 1.344 kB / 1.235 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/1.015, allocations: 21.03 kB / 1.235 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.015, allocations: 320.1 kB / 1.235 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/1.015, allocations: 6.656 kB / 1.235 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/1.015, allocations: 19.92 kB / 1.235 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.741e-05/1.015, allocations: 38.53 kB / 1.235 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.015, allocations: 0 / 1.235 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.704e-05/1.015, allocations: 53.78 kB / 1.235 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.015, allocations: 5.5 kB / 1.235 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/1.015, allocations: 1.25 kB / 1.235 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/1.015, allocations: 5.109 kB / 1.235 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/1.015, allocations: 5.75 kB / 1.235 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.015, allocations: 5 kB / 1.235 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/1.015, allocations: 6.281 kB / 1.235 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/1.015, allocations: 9.25 kB / 1.235 GB, free: 4.488 MB / 0.9669 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.051e-05/1.015, allocations: 115.8 kB / 1.235 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/1.015, allocations: 6.109 kB / 1.235 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.74e-05/1.015, allocations: 4.188 kB / 1.235 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/1.015, allocations: 0 / 1.235 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.016, allocations: 3.938 kB / 1.235 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/1.016, allocations: 1.188 kB / 1.235 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/1.016, allocations: 342.4 kB / 1.236 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.016, allocations: 1.188 kB / 1.236 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/1.016, allocations: 1.312 kB / 1.236 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.016, allocations: 3.938 kB / 1.236 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/1.016, allocations: 9.172 kB / 1.236 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.016, allocations: 0 / 1.236 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.016, allocations: 1 kB / 1.236 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.995e-05/1.016, allocations: 63.52 kB / 1.236 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/1.016, allocations: 86.05 kB / 1.236 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/1.016, allocations: 1.25 kB / 1.236 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/1.016, allocations: 6.109 kB / 1.236 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/1.016, allocations: 0 / 1.236 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/1.016, allocations: 1.125 kB / 1.236 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.485e-05/1.016, allocations: 83.44 kB / 1.236 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/1.016, allocations: 1 kB / 1.236 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001943/1.016, allocations: 5.5 kB / 1.236 GB, free: 3.699 MB / 0.9669 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.0001003/1.016, allocations: 105.2 kB / 1.236 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.44e-05/1.017, allocations: 20.97 kB / 1.236 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.017, allocations: 0.9062 kB / 1.236 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.011e-06/1.017, allocations: 2.156 kB / 1.236 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/1.017, allocations: 7.156 kB / 1.236 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/1.017, allocations: 141.8 kB / 1.236 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/1.017, allocations: 0.6852 MB / 1.237 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/1.017, allocations: 8.469 kB / 1.237 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/1.017, allocations: 0 / 1.237 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.002122/1.02, allocations: 0.5722 MB / 1.237 GB, free: 2.449 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches