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.001457/0.001457, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001622/0.001622, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.329/1.329, allocations: 230.6 MB / 256 MB, free: 7.812 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.951/2.951, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.001882/0.001882, allocations: 67.53 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3032, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1558/0.4591, allocations: 129.9 MB / 1.49 GB, free: 11.65 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.4592, allocations: 55.86 kB / 1.49 GB, free: 11.6 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.4592, allocations: 4 kB / 1.49 GB, free: 11.59 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 9.644e-05/0.4593, allocations: 7.875 kB / 1.49 GB, free: 11.59 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 6.359e-05/0.4594, allocations: 7.922 kB / 1.49 GB, free: 11.58 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.4598, allocations: 114.4 kB / 1.49 GB, free: 11.47 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 7.535e-05/0.4599, allocations: 35.86 kB / 1.49 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.4599, allocations: 0 / 1.49 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.4599, allocations: 19.97 kB / 1.491 GB, free: 11.41 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 6.053e-05/0.46, allocations: 11.92 kB / 1.491 GB, free: 11.4 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.46, allocations: 0 / 1.491 GB, free: 11.4 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.4602, allocations: 71.73 kB / 1.491 GB, free: 11.33 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.4603, allocations: 11.98 kB / 1.491 GB, free: 11.32 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.4603, allocations: 8 kB / 1.491 GB, free: 11.31 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.4604, allocations: 72.02 kB / 1.491 GB, free: 11.24 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4604, allocations: 4 kB / 1.491 GB, free: 11.24 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4604, allocations: 0 / 1.491 GB, free: 11.24 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4604, allocations: 0 / 1.491 GB, free: 11.24 MB / 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.0003456/0.4608, allocations: 262.3 kB / 1.491 GB, free: 10.95 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.4608, allocations: 16.02 kB / 1.491 GB, free: 10.94 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.4608, allocations: 34.75 kB / 1.491 GB, free: 10.89 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.461, allocations: 20.88 kB / 1.491 GB, free: 10.88 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.315e-05/0.4611, allocations: 110.3 kB / 1.491 GB, free: 10.74 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/0.4612, allocations: 55.41 kB / 1.491 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.4612, allocations: 0 / 1.491 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.4613, allocations: 75.38 kB / 1.491 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.4613, allocations: 0 / 1.491 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.4614, allocations: 0 / 1.491 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.4614, allocations: 4 kB / 1.491 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.4614, allocations: 19.92 kB / 1.491 GB, free: 10.57 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.4618, allocations: 224 kB / 1.491 GB, free: 10.3 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 4.494e-05/0.4618, allocations: 22.58 kB / 1.491 GB, free: 10.27 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.4618, allocations: 8.859 kB / 1.492 GB, free: 10.26 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-06/0.4618, allocations: 7.875 kB / 1.492 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4619, allocations: 38.61 kB / 1.492 GB, free: 10.21 MB / 1.186 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.4619, allocations: 0 / 1.492 GB, free: 10.21 MB / 1.186 GB Notification: Performance of matching and sorting (n=1): time 0.0001082/0.462, allocations: 33.64 kB / 1.492 GB, free: 10.17 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.462, allocations: 55.34 kB / 1.492 GB, free: 10.1 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.017e-05/0.4621, allocations: 113.8 kB / 1.492 GB, free: 9.98 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.4621, allocations: 25.7 kB / 1.492 GB, free: 9.949 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.4622, allocations: 92.03 kB / 1.492 GB, free: 9.855 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-06/0.4622, allocations: 3.953 kB / 1.492 GB, free: 9.852 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.4622, allocations: 21.84 kB / 1.492 GB, free: 9.824 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4624, allocations: 318.8 kB / 1.492 GB, free: 9.504 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.4624, allocations: 0 / 1.492 GB, free: 9.504 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/0.4624, allocations: 26.58 kB / 1.492 GB, free: 9.469 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.4624, allocations: 34.5 kB / 1.492 GB, free: 9.426 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4624, allocations: 0 / 1.492 GB, free: 9.426 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.711e-05/0.4625, allocations: 49.64 kB / 1.492 GB, free: 9.371 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4625, allocations: 12.08 kB / 1.492 GB, free: 9.359 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4625, allocations: 4 kB / 1.492 GB, free: 9.355 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.4626, allocations: 0 / 1.492 GB, free: 9.355 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.183e-05/0.4626, allocations: 7.938 kB / 1.492 GB, free: 9.348 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.4626, allocations: 4 kB / 1.492 GB, free: 9.344 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.4626, allocations: 3.938 kB / 1.492 GB, free: 9.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.4627, allocations: 0 / 1.492 GB, free: 9.34 MB / 1.186 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 7.948e-05/0.4627, allocations: 110.9 kB / 1.492 GB, free: 9.223 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.4628, allocations: 7.953 kB / 1.492 GB, free: 9.215 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.4628, allocations: 11.23 kB / 1.492 GB, free: 9.203 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4628, allocations: 11.92 kB / 1.492 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.4628, allocations: 0 / 1.492 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.4628, allocations: 0 / 1.492 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.463, allocations: 309.9 kB / 1.493 GB, free: 8.836 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.463, allocations: 4.25 kB / 1.493 GB, free: 8.832 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.425e-05/0.4631, allocations: 3.938 kB / 1.493 GB, free: 8.828 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4631, allocations: 4 kB / 1.493 GB, free: 8.824 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.4631, allocations: 0 / 1.493 GB, free: 8.824 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4631, allocations: 3.938 kB / 1.493 GB, free: 8.82 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4631, allocations: 3.938 kB / 1.493 GB, free: 8.816 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.05e-05/0.4631, allocations: 65.16 kB / 1.493 GB, free: 8.734 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.4632, allocations: 11.94 kB / 1.493 GB, free: 8.723 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.4632, allocations: 0 / 1.493 GB, free: 8.723 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.4632, allocations: 0 / 1.493 GB, free: 8.723 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.4633, allocations: 4 kB / 1.493 GB, free: 8.719 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.4633, allocations: 0 / 1.493 GB, free: 8.719 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.4633, allocations: 91.2 kB / 1.493 GB, free: 8.629 MB / 1.186 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4633, allocations: 0 / 1.493 GB, free: 8.629 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001756/0.4635, allocations: 8 kB / 1.493 GB, free: 8.621 MB / 1.186 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.0003571/0.4638, allocations: 0.6007 MB / 1.494 GB, free: 7.992 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 6.604e-05/0.4639, allocations: 8 kB / 1.494 GB, free: 7.984 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4639, allocations: 0 / 1.494 GB, free: 7.984 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 8.256e-06/0.4639, allocations: 7.938 kB / 1.494 GB, free: 7.977 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.4641, allocations: 7.938 kB / 1.494 GB, free: 7.969 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.4644, allocations: 144.4 kB / 1.494 GB, free: 7.789 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.728e-05/0.4645, allocations: 55.36 kB / 1.494 GB, free: 7.715 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.4645, allocations: 12.27 kB / 1.494 GB, free: 7.703 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.4646, allocations: 11.44 kB / 1.494 GB, free: 7.691 MB / 1.186 GB Notification: Performance of SimCode: time 2.7e-07/0.4646, allocations: 0 / 1.494 GB, free: 7.691 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.4925, allocations: 1.909 MB / 1.496 GB, free: 5.945 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.7, allocations: 7.312 kB / 1.496 GB, free: 5.941 MB / 1.186 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.670488842297345]