Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 113 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002508/0.002508, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 476.7 MB / 0.7672 GB, free: 5.246 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 73.73 kB / 1.112 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3563, allocations: 169.9 MB / 1.278 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1957/0.552, allocations: 151.1 MB / 1.426 GB, free: 13.54 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001592/0.5522, allocations: 51.84 kB / 1.426 GB, free: 13.49 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.5522, allocations: 0 / 1.426 GB, free: 13.49 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.5523, allocations: 3.938 kB / 1.426 GB, free: 13.48 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 9.166e-05/0.5524, allocations: 23.91 kB / 1.426 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.5529, allocations: 105 kB / 1.426 GB, free: 13.36 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.5531, allocations: 35.84 kB / 1.426 GB, free: 13.32 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.5531, allocations: 4 kB / 1.426 GB, free: 13.32 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.747e-05/0.5532, allocations: 15.92 kB / 1.426 GB, free: 13.3 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.5532, allocations: 15.98 kB / 1.426 GB, free: 13.29 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.5532, allocations: 0 / 1.426 GB, free: 13.29 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.5536, allocations: 87.7 kB / 1.426 GB, free: 13.2 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.5536, allocations: 11.98 kB / 1.426 GB, free: 13.19 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.5537, allocations: 19.94 kB / 1.426 GB, free: 13.17 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.5539, allocations: 72.05 kB / 1.426 GB, free: 13.1 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.5539, allocations: 0 / 1.426 GB, free: 13.1 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5539, allocations: 0 / 1.426 GB, free: 13.1 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.5539, allocations: 0 / 1.426 GB, free: 13.1 MB / 1.139 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.0005472/0.5545, allocations: 347.3 kB / 1.427 GB, free: 12.71 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.5545, allocations: 8.031 kB / 1.427 GB, free: 12.71 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.5546, allocations: 30.75 kB / 1.427 GB, free: 12.67 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.5549, allocations: 20.92 kB / 1.427 GB, free: 12.65 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.555, allocations: 172.1 kB / 1.427 GB, free: 12.44 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/0.5551, allocations: 29.7 kB / 1.427 GB, free: 12.41 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.5551, allocations: 0 / 1.427 GB, free: 12.41 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.5553, allocations: 45.69 kB / 1.427 GB, free: 12.36 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.5553, allocations: 0 / 1.427 GB, free: 12.36 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.5553, allocations: 0 / 1.427 GB, free: 12.36 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.5554, allocations: 7.984 kB / 1.427 GB, free: 12.35 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.62e-05/0.5554, allocations: 23.92 kB / 1.427 GB, free: 12.32 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.5559, allocations: 260.8 kB / 1.427 GB, free: 12.02 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.14e-05/0.5559, allocations: 18.62 kB / 1.427 GB, free: 11.99 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.5559, allocations: 8.844 kB / 1.427 GB, free: 11.98 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.556, allocations: 3.938 kB / 1.427 GB, free: 11.98 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.556, allocations: 34.56 kB / 1.427 GB, free: 11.93 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 3.767e-06/0.556, allocations: 3.984 kB / 1.427 GB, free: 11.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.000167/0.5562, allocations: 37.7 kB / 1.427 GB, free: 11.89 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.5562, allocations: 55.34 kB / 1.427 GB, free: 11.82 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.5563, allocations: 109.8 kB / 1.427 GB, free: 11.7 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.5563, allocations: 25.7 kB / 1.427 GB, free: 11.67 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.5564, allocations: 84.09 kB / 1.428 GB, free: 11.59 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.5564, allocations: 12.02 kB / 1.428 GB, free: 11.57 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.5565, allocations: 25.7 kB / 1.428 GB, free: 11.54 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5566, allocations: 310.8 kB / 1.428 GB, free: 11.23 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.5566, allocations: 4 kB / 1.428 GB, free: 11.23 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.276e-05/0.5567, allocations: 26.52 kB / 1.428 GB, free: 11.19 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.5567, allocations: 38.5 kB / 1.428 GB, free: 11.14 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5567, allocations: 0 / 1.428 GB, free: 11.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.69e-05/0.5568, allocations: 53.62 kB / 1.428 GB, free: 11.09 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5568, allocations: 4 kB / 1.428 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.5568, allocations: 4 kB / 1.428 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5568, allocations: 0 / 1.428 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.5569, allocations: 7.938 kB / 1.428 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.5569, allocations: 4 kB / 1.428 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.557, allocations: 4.047 kB / 1.428 GB, free: 11.06 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.557, allocations: 4 kB / 1.428 GB, free: 11.06 MB / 1.139 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 0.0001047/0.5571, allocations: 114.3 kB / 1.428 GB, free: 10.94 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.5571, allocations: 7.984 kB / 1.428 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.5571, allocations: 7.125 kB / 1.428 GB, free: 10.92 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5571, allocations: 3.938 kB / 1.428 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5571, allocations: 0 / 1.428 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5571, allocations: 0 / 1.428 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.5574, allocations: 343 kB / 1.428 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5575, allocations: 4 kB / 1.428 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.5575, allocations: 3.938 kB / 1.428 GB, free: 10.51 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5575, allocations: 4 kB / 1.428 GB, free: 10.51 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.5575, allocations: 3.984 kB / 1.428 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5575, allocations: 0 / 1.428 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5575, allocations: 0 / 1.428 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.011e-05/0.5576, allocations: 65.11 kB / 1.429 GB, free: 10.42 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.5576, allocations: 81.05 kB / 1.429 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.5576, allocations: 0 / 1.429 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.5577, allocations: 7.984 kB / 1.429 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.5577, allocations: 0 / 1.429 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.5577, allocations: 0 / 1.429 GB, free: 10.32 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.544e-05/0.5578, allocations: 87.22 kB / 1.429 GB, free: 10.23 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5578, allocations: 0 / 1.429 GB, free: 10.23 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001997/0.558, allocations: 8 kB / 1.429 GB, free: 10.22 MB / 1.139 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.0004226/0.5584, allocations: 0.6046 MB / 1.429 GB, free: 9.59 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.623e-05/0.5585, allocations: 11.98 kB / 1.429 GB, free: 9.578 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5585, allocations: 0 / 1.429 GB, free: 9.578 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.5585, allocations: 11.88 kB / 1.429 GB, free: 9.566 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.5587, allocations: 12.22 kB / 1.429 GB, free: 9.555 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.5592, allocations: 140.1 kB / 1.429 GB, free: 9.379 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.5595, allocations: 0.6768 MB / 1.43 GB, free: 8.676 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.03e-05/0.5596, allocations: 4 kB / 1.43 GB, free: 8.672 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.5596, allocations: 15.42 kB / 1.43 GB, free: 8.656 MB / 1.139 GB Notification: Performance of SimCode: time 3.91e-07/0.5596, allocations: 4 kB / 1.43 GB, free: 8.652 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.586, allocations: 1.376 MB / 1.432 GB, free: 7.43 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.886, allocations: 8.625 kB / 1.432 GB, free: 7.426 MB / 1.139 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.596412104088813]