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: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007367/0.007367, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001871/0.001871, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.317/2.317, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 66.92 kB / 0.9504 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2206, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1456/0.3662, allocations: 147.8 MB / 1.232 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001256/0.3664, allocations: 43.73 kB / 1.232 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.3665, allocations: 0 / 1.232 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.3666, allocations: 11.92 kB / 1.232 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.3667, allocations: 11.92 kB / 1.232 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.3671, allocations: 107.6 kB / 1.232 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.252e-05/0.3672, allocations: 35.84 kB / 1.232 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.3673, allocations: 7.984 kB / 1.232 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.3673, allocations: 11.98 kB / 1.232 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.3674, allocations: 19.92 kB / 1.232 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.3674, allocations: 0 / 1.232 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.3676, allocations: 79.72 kB / 1.232 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.3677, allocations: 7.984 kB / 1.232 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.3677, allocations: 15.94 kB / 1.232 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.3679, allocations: 78.64 kB / 1.232 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3679, allocations: 0 / 1.232 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3679, allocations: 0 / 1.232 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3679, allocations: 0 / 1.232 GB, free: 13.14 MB / 0.9981 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.0003595/0.3683, allocations: 332.4 kB / 1.233 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3684, allocations: 12.03 kB / 1.233 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.3684, allocations: 34.75 kB / 1.233 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.3686, allocations: 24.83 kB / 1.233 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3688, allocations: 172.1 kB / 1.233 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.3688, allocations: 29.7 kB / 1.233 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3688, allocations: 0 / 1.233 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.369, allocations: 45.69 kB / 1.233 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.369, allocations: 3.984 kB / 1.233 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.369, allocations: 0 / 1.233 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.369, allocations: 3.984 kB / 1.233 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.688e-05/0.3691, allocations: 27.92 kB / 1.233 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.3694, allocations: 256.9 kB / 1.233 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.826e-05/0.3695, allocations: 18.58 kB / 1.233 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.3695, allocations: 8.922 kB / 1.233 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-06/0.3695, allocations: 48 / 1.233 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.3696, allocations: 38.55 kB / 1.233 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3696, allocations: 0 / 1.233 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.000126/0.3697, allocations: 41.64 kB / 1.233 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.3697, allocations: 55.34 kB / 1.233 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.814e-05/0.3698, allocations: 105.8 kB / 1.233 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.3698, allocations: 25.7 kB / 1.233 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.3699, allocations: 87.95 kB / 1.234 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-06/0.3699, allocations: 4 kB / 1.234 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.3699, allocations: 17.84 kB / 1.234 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3701, allocations: 318.8 kB / 1.234 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.3701, allocations: 4 kB / 1.234 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.3701, allocations: 22.58 kB / 1.234 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.3702, allocations: 42.44 kB / 1.234 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3702, allocations: 256 / 1.234 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.586e-05/0.3703, allocations: 57.53 kB / 1.234 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3703, allocations: 4 kB / 1.234 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3703, allocations: 4 kB / 1.234 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3703, allocations: 7.938 kB / 1.234 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.3704, allocations: 7.938 kB / 1.234 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3704, allocations: 0 / 1.234 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.3704, allocations: 11.88 kB / 1.234 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.3705, allocations: 4.094 kB / 1.234 GB, free: 11.09 MB / 0.9981 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 6.822e-05/0.3705, allocations: 115.8 kB / 1.234 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.3706, allocations: 0 / 1.234 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.3706, allocations: 11.11 kB / 1.234 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3706, allocations: 3.938 kB / 1.234 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3706, allocations: 0 / 1.234 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.3706, allocations: 0 / 1.234 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3709, allocations: 342.8 kB / 1.234 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3709, allocations: 0 / 1.234 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.3709, allocations: 3.938 kB / 1.234 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3709, allocations: 0 / 1.234 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3709, allocations: 4 kB / 1.234 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3709, allocations: 3.938 kB / 1.234 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3709, allocations: 3.984 kB / 1.234 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.097e-05/0.371, allocations: 53.17 kB / 1.235 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.3711, allocations: 92.98 kB / 1.235 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3711, allocations: 0 / 1.235 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.3712, allocations: 3.984 kB / 1.235 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.3712, allocations: 4 kB / 1.235 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.3712, allocations: 0 / 1.235 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.3712, allocations: 83.28 kB / 1.235 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3712, allocations: 0 / 1.235 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002033/0.3715, allocations: 8 kB / 1.235 GB, free: 10.27 MB / 0.9981 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.0003052/0.3718, allocations: 0.6012 MB / 1.235 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.684e-05/0.3719, allocations: 15.98 kB / 1.235 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3719, allocations: 0 / 1.235 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.448e-06/0.3719, allocations: 7.938 kB / 1.235 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.3721, allocations: 13.81 kB / 1.235 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.3725, allocations: 136.2 kB / 1.235 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.3727, allocations: 0.6768 MB / 1.236 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.675e-05/0.3727, allocations: 12.02 kB / 1.236 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.3728, allocations: 11.44 kB / 1.236 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.3728, allocations: 7.938 kB / 1.236 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.3892, allocations: 1.362 MB / 1.237 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.477, allocations: 15.69 kB / 1.237 GB, free: 7.469 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/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