Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001183/0.001183, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001327/0.001327, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.315/1.315, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.925/2.925, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.001864/0.001864, allocations: 74.89 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2898, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1691/0.4589, allocations: 151.2 MB / 1.5 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001349/0.459, allocations: 59.84 kB / 1.501 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.4591, allocations: 3.938 kB / 1.501 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 9.43e-05/0.4592, allocations: 3.938 kB / 1.501 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 6.839e-05/0.4592, allocations: 15.91 kB / 1.501 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.4597, allocations: 111.6 kB / 1.501 GB, free: 0.5195 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 8.698e-05/0.4598, allocations: 35.84 kB / 1.501 GB, free: 496 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.4598, allocations: 4 kB / 1.501 GB, free: 492 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.4598, allocations: 19.91 kB / 1.501 GB, free: 472 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.4599, allocations: 11.98 kB / 1.501 GB, free: 460 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.4599, allocations: 0 / 1.501 GB, free: 460 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.4602, allocations: 95.7 kB / 1.501 GB, free: 364 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.4602, allocations: 12 kB / 1.501 GB, free: 352 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.4602, allocations: 11.92 kB / 1.501 GB, free: 340 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.4604, allocations: 72.06 kB / 1.501 GB, free: 268 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4604, allocations: 4 kB / 1.501 GB, free: 264 kB / 1.186 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4604, allocations: 0 / 1.501 GB, free: 264 kB / 1.186 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.4604, allocations: 0 / 1.501 GB, free: 264 kB / 1.186 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.0003756/0.4608, allocations: 266.2 kB / 1.501 GB, free: 15.97 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4608, allocations: 8.031 kB / 1.501 GB, free: 15.96 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.4608, allocations: 38.69 kB / 1.501 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.461, allocations: 20.92 kB / 1.501 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.4612, allocations: 110.3 kB / 1.501 GB, free: 15.76 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.4612, allocations: 55.41 kB / 1.501 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.4612, allocations: 0 / 1.501 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.4614, allocations: 49.67 kB / 1.501 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4614, allocations: 0 / 1.501 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4614, allocations: 0 / 1.501 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.4614, allocations: 4 kB / 1.501 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.268e-05/0.4615, allocations: 19.98 kB / 1.501 GB, free: 15.62 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.4618, allocations: 239.9 kB / 1.502 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 3.898e-05/0.4619, allocations: 18.56 kB / 1.502 GB, free: 15.31 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.4619, allocations: 8.922 kB / 1.502 GB, free: 15.3 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.4619, allocations: 4 kB / 1.502 GB, free: 15.3 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.4619, allocations: 30.56 kB / 1.502 GB, free: 15.26 MB / 1.201 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.4619, allocations: 0 / 1.502 GB, free: 15.26 MB / 1.201 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.462, allocations: 41.64 kB / 1.502 GB, free: 15.21 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.4621, allocations: 59.33 kB / 1.502 GB, free: 15.14 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.4622, allocations: 102 kB / 1.502 GB, free: 15.03 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4622, allocations: 25.7 kB / 1.502 GB, free: 15 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.4622, allocations: 92.03 kB / 1.502 GB, free: 14.91 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.4622, allocations: 8.062 kB / 1.502 GB, free: 14.9 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.4623, allocations: 17.72 kB / 1.502 GB, free: 14.88 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4624, allocations: 318.8 kB / 1.502 GB, free: 14.55 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.4624, allocations: 4 kB / 1.502 GB, free: 14.55 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.4625, allocations: 34.56 kB / 1.502 GB, free: 14.51 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.4625, allocations: 34.52 kB / 1.502 GB, free: 14.46 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4625, allocations: 0 / 1.502 GB, free: 14.46 MB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.198e-05/0.4626, allocations: 57.58 kB / 1.503 GB, free: 14.4 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.4626, allocations: 4 kB / 1.503 GB, free: 14.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4626, allocations: 0 / 1.503 GB, free: 14.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4626, allocations: 4 kB / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.4627, allocations: 7.938 kB / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.4627, allocations: 3.984 kB / 1.503 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.4627, allocations: 8.094 kB / 1.503 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-06/0.4627, allocations: 0 / 1.503 GB, free: 14.38 MB / 1.201 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.52e-05/0.4628, allocations: 122.4 kB / 1.503 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.4628, allocations: 0 / 1.503 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.581e-05/0.4629, allocations: 3.156 kB / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4629, allocations: 3.938 kB / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4629, allocations: 4 kB / 1.503 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.4629, allocations: 0 / 1.503 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.4631, allocations: 317.9 kB / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4631, allocations: 0 / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.4632, allocations: 3.938 kB / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4632, allocations: 0 / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.4632, allocations: 4 kB / 1.503 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4632, allocations: 0 / 1.503 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4632, allocations: 0 / 1.503 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.355e-05/0.4632, allocations: 69.05 kB / 1.503 GB, free: 13.78 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.4632, allocations: 11.94 kB / 1.503 GB, free: 13.77 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.4633, allocations: 0 / 1.503 GB, free: 13.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.4633, allocations: 4 kB / 1.503 GB, free: 13.76 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-06/0.4633, allocations: 0 / 1.503 GB, free: 13.76 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.4633, allocations: 0 / 1.503 GB, free: 13.76 MB / 1.201 GB Notification: Performance of sorting global known variables: time 5.642e-05/0.4634, allocations: 91.27 kB / 1.503 GB, free: 13.67 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.4634, allocations: 0 / 1.503 GB, free: 13.67 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0001804/0.4636, allocations: 8 kB / 1.503 GB, free: 13.66 MB / 1.201 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.0003516/0.4639, allocations: 0.6007 MB / 1.504 GB, free: 13.04 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 8.129e-05/0.464, allocations: 12 kB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.464, allocations: 0 / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 4.528e-06/0.464, allocations: 4.156 kB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.4643, allocations: 12 kB / 1.504 GB, free: 13.01 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.4646, allocations: 140.4 kB / 1.504 GB, free: 12.83 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.4649, allocations: 0.6729 MB / 1.505 GB, free: 12.13 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 4.644e-05/0.465, allocations: 8.078 kB / 1.505 GB, free: 12.12 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.465, allocations: 15.42 kB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of SimCode: time 3.4e-07/0.465, allocations: 0 / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.4911, allocations: 1.464 MB / 1.506 GB, free: 10.8 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.78/10.27, allocations: 11.94 kB / 1.506 GB, free: 10.8 MB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.282414313000118]