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.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.001182/0.001182, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001933/0.003115, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001068/0.001068, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002486, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9765/0.9765, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09166/1.068, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.335/2.335, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2569/2.592, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: 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 1.583e-06/1.583e-06, allocations: 0 / 0.8189 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.696e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003009/0.003035, allocations: 1.77 MB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.004957, allocations: 1.449 MB / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.005039, allocations: 0 / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.005218, allocations: 39.64 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.005586, allocations: 115.2 kB / 0.8222 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.00596, allocations: 139.5 kB / 0.8224 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.006279, allocations: 265.4 kB / 0.8226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.006382, allocations: 30.16 kB / 0.8227 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03446/0.04085, allocations: 10.24 MB / 0.8327 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.04103, allocations: 71.78 kB / 0.8327 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.04108, allocations: 16 kB / 0.8327 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.0413, allocations: 59.92 kB / 0.8328 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.0414, allocations: 59.86 kB / 0.8329 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.719e-05/0.04148, allocations: 51.81 kB / 0.8329 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.0419, allocations: 219.1 kB / 0.8331 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.577e-05/0.04191, allocations: 4 kB / 0.8331 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.403e-06/0.04192, allocations: 0 / 0.8331 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.04193, allocations: 0 / 0.8331 GB, free: 7.605 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007887/0.04272, allocations: 0.5001 MB / 0.8336 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.04276, allocations: 12.02 kB / 0.8336 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.901e-05/0.04284, allocations: 28.92 kB / 0.8336 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.04316, allocations: 240.8 kB / 0.8339 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.04318, allocations: 8.703 kB / 0.8339 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.04322, allocations: 20.31 kB / 0.8339 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.0435, allocations: 249.4 kB / 0.8341 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.04351, allocations: 192 / 0.8341 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.04354, allocations: 8.125 kB / 0.8341 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.04354, allocations: 4 kB / 0.8342 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.04414, allocations: 0.4915 MB / 0.8346 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.04487, allocations: 335 kB / 0.835 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.04508, allocations: 113.4 kB / 0.8351 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.54e-05/0.04516, allocations: 49.33 kB / 0.8351 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.0452, allocations: 16.27 kB / 0.8351 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.04541, allocations: 155.7 kB / 0.8353 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.04542, allocations: 0 / 0.8353 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.0003094/0.04573, allocations: 161.5 kB / 0.8354 GB, free: 5.105 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.04577, allocations: 63.34 kB / 0.8355 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.04593, allocations: 213 kB / 0.8357 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.04597, allocations: 37.7 kB / 0.8357 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.04602, allocations: 105.2 kB / 0.8358 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.12e-05/0.04611, allocations: 115 kB / 0.8359 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.0462, allocations: 53.67 kB / 0.836 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.04632, allocations: 342.8 kB / 0.8363 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.04638, allocations: 27.97 kB / 0.8363 GB, free: 4.113 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.04649, allocations: 113.9 kB / 0.8364 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.04666, allocations: 111.9 kB / 0.8366 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.04667, allocations: 4 kB / 0.8366 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002298/0.0469, allocations: 149.4 kB / 0.8367 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.04691, allocations: 4 kB / 0.8367 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.04692, allocations: 0 / 0.8367 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.04694, allocations: 4 kB / 0.8367 GB, free: 3.703 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.04718, allocations: 67.89 kB / 0.8368 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.04718, allocations: 0 / 0.8368 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.04729, allocations: 27.84 kB / 0.8368 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.0473, allocations: 7.984 kB / 0.8368 GB, free: 3.602 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (36): * Single equations (assignments): 36 * 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.00011/0.04741, allocations: 132.5 kB / 0.8369 GB, free: 3.461 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.04746, allocations: 31.91 kB / 0.837 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.04781, allocations: 222.1 kB / 0.8372 GB, free: 3.207 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.04781, allocations: 4 kB / 0.8372 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.04782, allocations: 7.938 kB / 0.8372 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.04782, allocations: 3.984 kB / 0.8372 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.04801, allocations: 153.6 kB / 0.8373 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.04802, allocations: 0 / 0.8373 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.04818, allocations: 67.89 kB / 0.8374 GB, free: 2.957 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.04827, allocations: 59.64 kB / 0.8375 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.04827, allocations: 0 / 0.8375 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.04829, allocations: 8 kB / 0.8375 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.04829, allocations: 0 / 0.8375 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.04829, allocations: 0 / 0.8375 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.04851, allocations: 186.4 kB / 0.8376 GB, free: 2.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.04855, allocations: 11.94 kB / 0.8377 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.04863, allocations: 15.98 kB / 0.8377 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.04867, allocations: 15.95 kB / 0.8377 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.04869, allocations: 11.98 kB / 0.8377 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.44e-05/0.04877, allocations: 70.78 kB / 0.8378 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.04877, allocations: 0 / 0.8378 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002331/0.049, allocations: 48 kB / 0.8378 GB, free: 2.52 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001412/0.05041, allocations: 491.9 kB / 0.8383 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.05065, allocations: 120.8 kB / 0.8384 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.567e-06/0.05066, allocations: 4 kB / 0.8384 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.0508, allocations: 104.9 kB / 0.8385 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.05105, allocations: 136.3 kB / 0.8386 GB, free: 1.883 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.05276, allocations: 427.8 kB / 0.839 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.977e-05/0.05283, allocations: 93.91 kB / 0.8391 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001648/0.05299, allocations: 78.94 kB / 0.8392 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.05314, allocations: 119.3 kB / 0.8393 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of SimCode: time 9.41e-07/0.05314, allocations: 0 / 0.8393 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of Templates: time 0.004925/0.05806, allocations: 3.261 MB / 0.8425 GB, free: 13.89 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.226359984837472]