Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001425/0.001425, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002161/0.002161, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.258/3.258, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [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.002008/0.002008, allocations: 69.34 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4021, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003936/0.4061, allocations: 1.678 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.4084, allocations: 1.364 MB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.4085, allocations: 7.938 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.4087, allocations: 27.78 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.4092, allocations: 115.5 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.4096, allocations: 151 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.41, allocations: 257.5 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.4101, allocations: 17.56 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.4102, allocations: 91.75 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.4104, allocations: 99.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.4104, allocations: 16 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.4106, allocations: 123.9 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.4108, allocations: 83.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.4109, allocations: 99.39 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004565/0.4113, allocations: 330.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4113, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4113, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4113, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008578/0.4122, allocations: 0.4937 MB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4122, allocations: 8.031 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/0.4123, allocations: 32.75 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.4127, allocations: 209.1 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.4127, allocations: 16.38 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.4127, allocations: 20.38 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.4132, allocations: 332 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4132, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.4132, allocations: 8 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.4132, allocations: 4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008507/0.4141, allocations: 0.6826 MB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.4151, allocations: 0.4996 MB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.4156, allocations: 208.4 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.4158, allocations: 96.81 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.4158, allocations: 15.97 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.4162, allocations: 199.2 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.4162, allocations: 0 / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007145/0.4169, allocations: 374.5 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/0.417, allocations: 132.5 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.4174, allocations: 320.9 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.4175, allocations: 33.7 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.4176, allocations: 124.7 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.4177, allocations: 115.1 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.4178, allocations: 65.64 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4179, allocations: 346.8 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.4181, allocations: 75.95 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.4183, allocations: 200.5 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.4186, allocations: 210.3 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4186, allocations: 4 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004494/0.4191, allocations: 269.4 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4191, allocations: 9.719 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4191, allocations: 0 / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4191, allocations: 0 / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.4194, allocations: 63.91 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.4194, allocations: 4 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.4195, allocations: 31.77 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.4196, allocations: 11.94 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001823/0.4197, allocations: 161.8 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.4198, allocations: 31.84 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007029/0.4205, allocations: 376.9 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.388e-05/0.4206, allocations: 4 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4206, allocations: 0 / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4206, allocations: 7.922 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.4209, allocations: 241 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4209, allocations: 0 / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.4211, allocations: 55.97 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.4211, allocations: 8 kB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.4211, allocations: 8 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4211, allocations: 0 / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4211, allocations: 3.938 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.4216, allocations: 321.7 kB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.4218, allocations: 63.73 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.4218, allocations: 8 kB / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.422, allocations: 23.86 kB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.422, allocations: 23.95 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.4221, allocations: 19.98 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00025/0.4223, allocations: 244.4 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4223, allocations: 0 / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003283/0.4226, allocations: 71.88 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001792/0.4244, allocations: 496.7 kB / 1.339 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000445/0.4249, allocations: 216.3 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4249, allocations: 3.938 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.4251, allocations: 120.4 kB / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.4254, allocations: 30.75 kB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.4263, allocations: 0.5155 MB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.4265, allocations: 150.9 kB / 1.34 GB, free: 4.031 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003433/0.4268, allocations: 146.8 kB / 1.34 GB, free: 3.891 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.58e-05/0.4269, allocations: 43.42 kB / 1.34 GB, free: 3.848 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4269, allocations: 0 / 1.34 GB, free: 3.848 MB / 1.029 GB Notification: Performance of Templates: time 0.008741/0.4357, allocations: 3.68 MB / 1.343 GB, free: 204 kB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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: 9.248988464009017]