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.001094/0.001094, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001653/0.002747, allocations: 449.8 kB / 10.44 MB, free: 252 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.00115/0.00115, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001754/0.002904, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.025/1.025, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09799/1.123, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.843/1.843, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5174/2.361, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.992e-05, allocations: 2.812 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002216/0.002236, allocations: 1.774 MB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.003712, allocations: 1.458 MB / 0.7328 GB, free: 1.191 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.003768, allocations: 1.625 kB / 0.7328 GB, free: 1.191 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.003902, allocations: 40.3 kB / 0.7329 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.00416, allocations: 115.2 kB / 0.733 GB, free: 1.047 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.004413, allocations: 146.2 kB / 0.7331 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.004693, allocations: 263.1 kB / 0.7334 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004795, allocations: 22.17 kB / 0.7334 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02578/0.03057, allocations: 10.5 MB / 0.7436 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.03072, allocations: 75.83 kB / 0.7437 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.03075, allocations: 20 kB / 0.7437 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.03091, allocations: 63.86 kB / 0.7438 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.03098, allocations: 70.55 kB / 0.7439 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.03105, allocations: 47.88 kB / 0.7439 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.03135, allocations: 219.1 kB / 0.7441 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.03137, allocations: 0 / 0.7441 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.03137, allocations: 0 / 0.7441 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.03138, allocations: 0 / 0.7441 GB, free: 9.434 MB / 0.7136 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.0006126/0.032, allocations: 0.4924 MB / 0.7446 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.03203, allocations: 10.94 kB / 0.7446 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.03208, allocations: 32.91 kB / 0.7446 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.03232, allocations: 244.7 kB / 0.7449 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.03234, allocations: 20.64 kB / 0.7449 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.03236, allocations: 16.38 kB / 0.7449 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.03256, allocations: 241.4 kB / 0.7451 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.03257, allocations: 192 / 0.7451 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.03258, allocations: 12.12 kB / 0.7452 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.03259, allocations: 4.625 kB / 0.7452 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.03297, allocations: 488 kB / 0.7456 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.03346, allocations: 347.5 kB / 0.746 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.03361, allocations: 105.5 kB / 0.7461 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.03366, allocations: 45.94 kB / 0.7461 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.0337, allocations: 16.27 kB / 0.7461 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.03395, allocations: 156.5 kB / 0.7463 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=34): time 2.815e-06/0.03395, allocations: 4 kB / 0.7463 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34): time 0.0002701/0.03422, allocations: 166.6 kB / 0.7464 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.03426, allocations: 60.36 kB / 0.7465 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.03439, allocations: 205 kB / 0.7467 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.03441, allocations: 33.7 kB / 0.7467 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.03446, allocations: 109.8 kB / 0.7468 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.03453, allocations: 123.5 kB / 0.7469 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.03459, allocations: 53.67 kB / 0.747 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.03468, allocations: 339.4 kB / 0.7473 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.03472, allocations: 31.92 kB / 0.7473 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.0348, allocations: 119.8 kB / 0.7475 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.03493, allocations: 102 kB / 0.7475 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.03493, allocations: 0 / 0.7475 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001594/0.03509, allocations: 150.1 kB / 0.7477 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.0351, allocations: 4 kB / 0.7477 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.03511, allocations: 0.75 kB / 0.7477 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.03513, allocations: 3.938 kB / 0.7477 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.03531, allocations: 69.39 kB / 0.7478 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.03531, allocations: 3.984 kB / 0.7478 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.03539, allocations: 27.83 kB / 0.7478 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.0354, allocations: 12.94 kB / 0.7478 GB, free: 5.457 MB / 0.7136 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 8.904e-05/0.03549, allocations: 124.7 kB / 0.7479 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.03552, allocations: 28.7 kB / 0.748 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.03581, allocations: 224.1 kB / 0.7482 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.03581, allocations: 5.531 kB / 0.7482 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.03582, allocations: 0 / 0.7482 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.03583, allocations: 4 kB / 0.7482 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.03597, allocations: 153.7 kB / 0.7483 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.03598, allocations: 5.5 kB / 0.7483 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.03609, allocations: 59.91 kB / 0.7484 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.03616, allocations: 63.58 kB / 0.7484 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.03616, allocations: 4 kB / 0.7485 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.03617, allocations: 9.234 kB / 0.7485 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.03617, allocations: 4 kB / 0.7485 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.03618, allocations: 0 / 0.7485 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.03633, allocations: 171.7 kB / 0.7486 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.03636, allocations: 16.78 kB / 0.7486 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.03643, allocations: 11.98 kB / 0.7487 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.03647, allocations: 25.05 kB / 0.7487 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.03648, allocations: 8 kB / 0.7487 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.03654, allocations: 66.8 kB / 0.7488 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.03654, allocations: 0.9062 kB / 0.7488 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001498/0.03669, allocations: 48 kB / 0.7488 GB, free: 4.398 MB / 0.7136 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.00133/0.03802, allocations: 495.1 kB / 0.7493 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.0382, allocations: 129 kB / 0.7494 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.03821, allocations: 4 kB / 0.7494 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.03831, allocations: 93.31 kB / 0.7495 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.03851, allocations: 134 kB / 0.7496 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.03969, allocations: 423.2 kB / 0.75 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.658e-05/0.03976, allocations: 102 kB / 0.7501 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.0399, allocations: 75.73 kB / 0.7502 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.04004, allocations: 116.6 kB / 0.7503 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of SimCode: time 8.71e-07/0.04004, allocations: 0.6562 kB / 0.7503 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of Templates: time 0.005317/0.04536, allocations: 3.255 MB / 0.7535 GB, free: 15.88 MB / 0.7292 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure/Buildings_12_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.155169662088156]