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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.006948/0.006948, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001786/0.001786, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 55.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6304/0.6316, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.139/0.7707, allocations: 147.8 MB / 1.311 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.7709, allocations: 51.88 kB / 1.311 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.7709, allocations: 3.938 kB / 1.311 GB, free: 15.26 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.481e-05/0.771, allocations: 3.984 kB / 1.311 GB, free: 15.26 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.7711, allocations: 7.922 kB / 1.311 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.7715, allocations: 112.8 kB / 1.311 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.819e-05/0.7716, allocations: 35.91 kB / 1.311 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.143e-05/0.7717, allocations: 3.984 kB / 1.311 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.7717, allocations: 15.92 kB / 1.311 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.7718, allocations: 15.92 kB / 1.311 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.7718, allocations: 0 / 1.311 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.772, allocations: 87.72 kB / 1.311 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.7721, allocations: 11.98 kB / 1.311 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.7721, allocations: 11.94 kB / 1.311 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.7723, allocations: 71.55 kB / 1.311 GB, free: 14.89 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7723, allocations: 0 / 1.311 GB, free: 14.89 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.133e-06/0.7723, allocations: 0 / 1.311 GB, free: 14.89 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.7723, allocations: 4 kB / 1.311 GB, free: 14.89 MB / 1.045 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.0003337/0.7727, allocations: 331.5 kB / 1.311 GB, free: 14.52 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.7727, allocations: 8.625 kB / 1.311 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.7727, allocations: 34.69 kB / 1.311 GB, free: 14.47 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.773, allocations: 20.92 kB / 1.311 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.7731, allocations: 176.1 kB / 1.312 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.7731, allocations: 29.64 kB / 1.312 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.7731, allocations: 0 / 1.312 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.7733, allocations: 45.69 kB / 1.312 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.7733, allocations: 0 / 1.312 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.7733, allocations: 0 / 1.312 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.7733, allocations: 11.98 kB / 1.312 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.7734, allocations: 15.98 kB / 1.312 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.7737, allocations: 264.8 kB / 1.312 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 3.452e-05/0.7738, allocations: 22.52 kB / 1.312 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.7738, allocations: 12.89 kB / 1.312 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-06/0.7738, allocations: 0 / 1.312 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.7739, allocations: 38.62 kB / 1.312 GB, free: 13.72 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.7739, allocations: 0 / 1.312 GB, free: 13.72 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.774, allocations: 29.7 kB / 1.312 GB, free: 13.69 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.774, allocations: 59.28 kB / 1.312 GB, free: 13.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.7741, allocations: 105.8 kB / 1.312 GB, free: 13.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.7741, allocations: 25.7 kB / 1.312 GB, free: 13.47 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.7742, allocations: 96.05 kB / 1.312 GB, free: 13.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/0.7742, allocations: 4.125 kB / 1.312 GB, free: 13.37 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.7742, allocations: 13.72 kB / 1.312 GB, free: 13.35 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.7743, allocations: 322.8 kB / 1.313 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.7743, allocations: 4 kB / 1.313 GB, free: 13.02 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.7744, allocations: 18.58 kB / 1.313 GB, free: 13 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.7744, allocations: 38.5 kB / 1.313 GB, free: 12.95 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7744, allocations: 0 / 1.313 GB, free: 12.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.041e-05/0.7745, allocations: 57.58 kB / 1.313 GB, free: 12.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7745, allocations: 8 kB / 1.313 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7745, allocations: 0 / 1.313 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.7745, allocations: 0 / 1.313 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.7746, allocations: 11.94 kB / 1.313 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.7746, allocations: 4 kB / 1.313 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.7747, allocations: 8.031 kB / 1.313 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.7747, allocations: 4 kB / 1.313 GB, free: 12.85 MB / 1.045 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.514e-05/0.7747, allocations: 109.8 kB / 1.313 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.7748, allocations: 8.078 kB / 1.313 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.75e-05/0.7748, allocations: 7.109 kB / 1.313 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.7748, allocations: 3.938 kB / 1.313 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7748, allocations: 0 / 1.313 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.7748, allocations: 0 / 1.313 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.7751, allocations: 350.7 kB / 1.313 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7751, allocations: 0 / 1.313 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.7751, allocations: 7.938 kB / 1.313 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7751, allocations: 0 / 1.313 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.7751, allocations: 0 / 1.313 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7751, allocations: 3.984 kB / 1.313 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7751, allocations: 0 / 1.313 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.237e-05/0.7752, allocations: 69.31 kB / 1.313 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.7752, allocations: 81.05 kB / 1.313 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.7753, allocations: 4 kB / 1.313 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.7753, allocations: 7.984 kB / 1.313 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-06/0.7754, allocations: 0 / 1.313 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.7754, allocations: 0 / 1.313 GB, free: 12.1 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.7754, allocations: 79.28 kB / 1.313 GB, free: 12.02 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7754, allocations: 0 / 1.313 GB, free: 12.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002001/0.7756, allocations: 12 kB / 1.313 GB, free: 12.01 MB / 1.045 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.0002677/0.7759, allocations: 0.5968 MB / 1.314 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.456e-05/0.776, allocations: 19.92 kB / 1.314 GB, free: 11.37 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.776, allocations: 0 / 1.314 GB, free: 11.37 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/0.776, allocations: 224 / 1.314 GB, free: 11.37 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.7762, allocations: 16.56 kB / 1.314 GB, free: 11.35 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.7765, allocations: 128.3 kB / 1.314 GB, free: 11.19 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.7767, allocations: 0.6768 MB / 1.315 GB, free: 10.48 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.444e-05/0.7768, allocations: 8 kB / 1.315 GB, free: 10.48 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.7768, allocations: 15.44 kB / 1.315 GB, free: 10.46 MB / 1.045 GB Notification: Performance of SimCode: time 5.61e-07/0.7768, allocations: 0 / 1.315 GB, free: 10.46 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.7919, allocations: 1.379 MB / 1.316 GB, free: 9.234 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.277/8.069, allocations: 3.953 kB / 1.316 GB, free: 9.23 MB / 1.045 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/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