Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 496.2 MB / 0.7819 GB, free: 12.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.88 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189/1.191, allocations: 173.7 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002651/1.194, allocations: 1.675 MB / 1.307 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001427/1.195, allocations: 1.253 MB / 1.308 GB, free: 31.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/1.195, allocations: 4 kB / 1.308 GB, free: 31.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002224/1.195, allocations: 21.11 kB / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002815/1.196, allocations: 66.58 kB / 1.308 GB, free: 31.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/1.196, allocations: 153.4 kB / 1.309 GB, free: 31.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/1.196, allocations: 249.1 kB / 1.309 GB, free: 31.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/1.196, allocations: 19.69 kB / 1.309 GB, free: 31.15 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/1.196, allocations: 83.55 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/1.197, allocations: 99.67 kB / 1.309 GB, free: 31.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/1.197, allocations: 16.81 kB / 1.309 GB, free: 31.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/1.197, allocations: 79.27 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/1.197, allocations: 84.17 kB / 1.309 GB, free: 31.01 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/1.197, allocations: 107 kB / 1.309 GB, free: 30.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/1.197, allocations: 291 kB / 1.31 GB, free: 30.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.197, allocations: 0 / 1.31 GB, free: 30.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/1.197, allocations: 0 / 1.31 GB, free: 30.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.342e-06/1.197, allocations: 0 / 1.31 GB, free: 30.82 MB / 1.061 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.0007016/1.198, allocations: 0.5505 MB / 1.31 GB, free: 30.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/1.198, allocations: 8.625 kB / 1.31 GB, free: 30.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/1.198, allocations: 30.97 kB / 1.31 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/1.198, allocations: 277.8 kB / 1.31 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/1.198, allocations: 14.22 kB / 1.31 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/1.198, allocations: 16.09 kB / 1.31 GB, free: 30.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/1.199, allocations: 220.4 kB / 1.311 GB, free: 29.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.199, allocations: 4 kB / 1.311 GB, free: 29.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/1.199, allocations: 8 kB / 1.311 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.199, allocations: 5.906 kB / 1.311 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/1.199, allocations: 0.7304 MB / 1.311 GB, free: 29.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007905/1.2, allocations: 0.573 MB / 1.312 GB, free: 29.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/1.201, allocations: 207.4 kB / 1.312 GB, free: 29.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/1.201, allocations: 95.23 kB / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/1.201, allocations: 22.69 kB / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/1.201, allocations: 175.1 kB / 1.312 GB, free: 29.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/1.201, allocations: 0 / 1.312 GB, free: 29.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.0006231/1.202, allocations: 367.2 kB / 1.313 GB, free: 29.08 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/1.202, allocations: 131.1 kB / 1.313 GB, free: 28.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/1.202, allocations: 309.9 kB / 1.313 GB, free: 28.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/1.202, allocations: 36.45 kB / 1.313 GB, free: 28.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/1.202, allocations: 128.3 kB / 1.313 GB, free: 28.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/1.202, allocations: 116.2 kB / 1.313 GB, free: 28.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/1.202, allocations: 63.2 kB / 1.313 GB, free: 28.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.773e-05/1.202, allocations: 334 kB / 1.314 GB, free: 28.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/1.202, allocations: 81.23 kB / 1.314 GB, free: 28.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/1.203, allocations: 126.7 kB / 1.314 GB, free: 28.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/1.203, allocations: 210.9 kB / 1.314 GB, free: 27.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.203, allocations: 0 / 1.314 GB, free: 27.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003444/1.203, allocations: 271 kB / 1.314 GB, free: 27.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.203, allocations: 5.781 kB / 1.314 GB, free: 27.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/1.203, allocations: 3.984 kB / 1.314 GB, free: 27.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.203, allocations: 2.688 kB / 1.314 GB, free: 27.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/1.203, allocations: 58.31 kB / 1.315 GB, free: 27.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.203, allocations: 2.625 kB / 1.315 GB, free: 27.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/1.204, allocations: 33.91 kB / 1.315 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/1.204, allocations: 19.56 kB / 1.315 GB, free: 27.84 MB / 1.061 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.0001201/1.204, allocations: 158.1 kB / 1.315 GB, free: 27.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/1.204, allocations: 30.42 kB / 1.315 GB, free: 27.69 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005819/1.204, allocations: 379.2 kB / 1.315 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.204, allocations: 2.188 kB / 1.315 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.204, allocations: 6.75 kB / 1.315 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.204, allocations: 7.641 kB / 1.315 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/1.205, allocations: 330.2 kB / 1.315 GB, free: 27.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.205, allocations: 0 / 1.315 GB, free: 27.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/1.205, allocations: 55.03 kB / 1.315 GB, free: 27.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.205, allocations: 0 / 1.315 GB, free: 27.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.205, allocations: 16.86 kB / 1.315 GB, free: 27.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.205, allocations: 0 / 1.315 GB, free: 27.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.205, allocations: 3.938 kB / 1.316 GB, free: 27.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/1.205, allocations: 321.5 kB / 1.316 GB, free: 27.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.396e-05/1.205, allocations: 141.1 kB / 1.316 GB, free: 26.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/1.205, allocations: 9.766 kB / 1.316 GB, free: 26.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/1.205, allocations: 12.11 kB / 1.316 GB, free: 26.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/1.206, allocations: 34.11 kB / 1.316 GB, free: 26.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/1.206, allocations: 17.73 kB / 1.316 GB, free: 26.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001559/1.206, allocations: 230.6 kB / 1.316 GB, free: 26.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.206, allocations: 0 / 1.316 GB, free: 26.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002838/1.206, allocations: 58.38 kB / 1.316 GB, free: 26.8 MB / 1.061 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.00142/1.207, allocations: 411.2 kB / 1.317 GB, free: 26.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003811/1.208, allocations: 216.2 kB / 1.317 GB, free: 26.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.208, allocations: 4 kB / 1.317 GB, free: 26.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/1.208, allocations: 117.3 kB / 1.317 GB, free: 26.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/1.208, allocations: 37.64 kB / 1.317 GB, free: 26.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007316/1.209, allocations: 0.5095 MB / 1.318 GB, free: 26.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/1.209, allocations: 0.7628 MB / 1.318 GB, free: 25.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002841/1.209, allocations: 148.7 kB / 1.318 GB, free: 25.46 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/1.21, allocations: 42.08 kB / 1.318 GB, free: 25.45 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/1.21, allocations: 0 / 1.318 GB, free: 25.45 MB / 1.061 GB Notification: Performance of Templates: time 0.00661/1.216, allocations: 3.139 MB / 1.322 GB, free: 25.13 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.84450670145452]