Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001855/0.001855, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002695/0.002695, allocations: 216.8 kB / 22.25 MB, free: 5.258 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.785 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.861/2.861, allocations: 476 MB / 0.7699 GB, free: 4.758 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_11_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_11_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.00221/0.00221, allocations: 67.16 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3321, allocations: 169.9 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003437/0.3355, allocations: 1.687 MB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.3378, allocations: 1.364 MB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3379, allocations: 11.94 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.3381, allocations: 23.84 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.3386, allocations: 111.5 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.3391, allocations: 151.2 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.3395, allocations: 261.5 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3396, allocations: 5.594 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3397, allocations: 95.75 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.34, allocations: 97.59 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.34, allocations: 16 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.3403, allocations: 119.9 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3405, allocations: 83.8 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3406, allocations: 91.45 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.3411, allocations: 338.7 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3411, allocations: 0 / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3411, allocations: 0 / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.3412, allocations: 0 / 1.287 GB, free: 7.57 MB / 0.9825 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.0009316/0.3421, allocations: 0.4898 MB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3421, allocations: 12.03 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.3422, allocations: 32.75 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.3426, allocations: 221 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.3426, allocations: 16.25 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.3427, allocations: 20.31 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.3431, allocations: 321.2 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3431, allocations: 4 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.3432, allocations: 4 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3432, allocations: 4 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.3441, allocations: 0.6865 MB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009876/0.3451, allocations: 0.4997 MB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.3455, allocations: 208.5 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.3457, allocations: 92.81 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.3457, allocations: 15.98 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003911/0.3461, allocations: 203.1 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.3461, allocations: 0 / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.000734/0.3469, allocations: 359.3 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.347, allocations: 136.5 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.3473, allocations: 316.9 kB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.3474, allocations: 37.7 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3475, allocations: 124.7 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.3476, allocations: 119 kB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3477, allocations: 69.62 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3479, allocations: 338.8 kB / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.348, allocations: 79.95 kB / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.3483, allocations: 205.5 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.3487, allocations: 208.7 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3487, allocations: 0 / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005074/0.3492, allocations: 273.9 kB / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3492, allocations: 4 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3492, allocations: 4 kB / 1.292 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3492, allocations: 0 / 1.292 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.3495, allocations: 63.91 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3495, allocations: 0 / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.3496, allocations: 31.84 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.3497, allocations: 15.94 kB / 1.292 GB, free: 2.164 MB / 0.9825 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.0001856/0.3499, allocations: 163 kB / 1.293 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.3499, allocations: 31.81 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007347/0.3507, allocations: 376.7 kB / 1.293 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3507, allocations: 4 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3507, allocations: 3.938 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3507, allocations: 4 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.351, allocations: 245 kB / 1.293 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.351, allocations: 3.938 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.3512, allocations: 55.91 kB / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.3512, allocations: 4 kB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.3512, allocations: 12 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3512, allocations: 3.984 kB / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3512, allocations: 0 / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.3518, allocations: 318.3 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.3519, allocations: 67.69 kB / 1.294 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.352, allocations: 8 kB / 1.294 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3521, allocations: 19.98 kB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.3522, allocations: 19.95 kB / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.3522, allocations: 19.98 kB / 1.294 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002632/0.3525, allocations: 248.4 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3525, allocations: 0 / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003641/0.3528, allocations: 75.86 kB / 1.294 GB, free: 456 kB / 0.9825 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.001919/0.3548, allocations: 492.2 kB / 1.294 GB, free: 152 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004855/0.3553, allocations: 216 kB / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3553, allocations: 7.938 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.3555, allocations: 111.9 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3558, allocations: 32.95 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009661/0.3568, allocations: 0.5085 MB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.3569, allocations: 151.5 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000371/0.3573, allocations: 142.9 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3574, allocations: 47.41 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.3574, allocations: 0 / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of Templates: time 0.009071/0.3665, allocations: 3.594 MB / 1.299 GB, free: 11.34 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.453676296398044]