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.001376/0.001376, allocations: 81.86 kB / 20.68 MB, free: 3.82 MB / 18.57 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.001611/0.001611, allocations: 181 kB / 24.08 MB, free: 424 kB / 18.57 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.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.855/1.855, allocations: 377.9 MB / 0.6239 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.372e-06/1.372e-06, allocations: 0 / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.429e-05, allocations: 2.312 kB / 0.812 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002052/0.002066, allocations: 1.722 MB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003388, allocations: 1.415 MB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.003459, allocations: 5.156 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.003675, allocations: 27.72 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.004012, allocations: 115.9 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.004312, allocations: 146 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000609/0.004921, allocations: 265.4 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.005025, allocations: 17.58 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02652/0.03154, allocations: 10.45 MB / 0.8258 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.03167, allocations: 79.83 kB / 0.8259 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.0317, allocations: 17.66 kB / 0.8259 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.03182, allocations: 55.92 kB / 0.826 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.03189, allocations: 87.73 kB / 0.8261 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.03218, allocations: 71.75 kB / 0.8261 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.03247, allocations: 243.5 kB / 0.8264 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.03247, allocations: 4 kB / 0.8264 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.503e-06/0.03247, allocations: 0 / 0.8264 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.03248, allocations: 0 / 0.8264 GB, free: 6.465 MB / 0.7761 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.0005578/0.03303, allocations: 0.5823 MB / 0.8269 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.03307, allocations: 12.03 kB / 0.827 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.03314, allocations: 40.75 kB / 0.827 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.03336, allocations: 250.2 kB / 0.8272 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.03338, allocations: 12.7 kB / 0.8272 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.0334, allocations: 20.38 kB / 0.8273 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.03361, allocations: 261.8 kB / 0.8275 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.03362, allocations: 192 / 0.8275 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.03364, allocations: 16.12 kB / 0.8275 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.03364, allocations: 7.984 kB / 0.8275 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.03405, allocations: 0.5657 MB / 0.8281 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.03461, allocations: 460.2 kB / 0.8285 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.03477, allocations: 141.2 kB / 0.8287 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.0349, allocations: 48.22 kB / 0.8287 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.477e-05/0.03499, allocations: 32.08 kB / 0.8287 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.03524, allocations: 160.8 kB / 0.8289 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=34): time 3.247e-06/0.03525, allocations: 4 kB / 0.8289 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34): time 0.0003825/0.03563, allocations: 247.2 kB / 0.8291 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.03569, allocations: 106.8 kB / 0.8292 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.03587, allocations: 272.2 kB / 0.8295 GB, free: 3.062 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.0359, allocations: 33.7 kB / 0.8295 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.03598, allocations: 179.4 kB / 0.8297 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/0.03607, allocations: 119 kB / 0.8298 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.03616, allocations: 87.3 kB / 0.8299 GB, free: 2.633 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.0363, allocations: 0.5079 MB / 0.8304 GB, free: 2.113 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-05/0.03635, allocations: 31.97 kB / 0.8304 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.03646, allocations: 139.8 kB / 0.8306 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.03659, allocations: 117.2 kB / 0.8307 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.03659, allocations: 3.938 kB / 0.8307 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002151/0.03681, allocations: 197.3 kB / 0.8309 GB, free: 1.602 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.03683, allocations: 8 kB / 0.8309 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.03683, allocations: 0 / 0.8309 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.03707, allocations: 3.984 kB / 0.8309 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.03723, allocations: 59.91 kB / 0.8309 GB, free: 1.531 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.03723, allocations: 4 kB / 0.8309 GB, free: 1.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.03732, allocations: 27.83 kB / 0.831 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.03734, allocations: 8 kB / 0.831 GB, free: 1.492 MB / 0.7761 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.0001094/0.03745, allocations: 180.5 kB / 0.8311 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.03749, allocations: 43.8 kB / 0.8312 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.03782, allocations: 284.9 kB / 0.8315 GB, free: 0.9766 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.03782, allocations: 4 kB / 0.8315 GB, free: 0.9727 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.03782, allocations: 0 / 0.8315 GB, free: 0.9727 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.03783, allocations: 3.984 kB / 0.8315 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.038, allocations: 193 kB / 0.8316 GB, free: 0.7539 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.038, allocations: 0 / 0.8316 GB, free: 0.7539 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.03811, allocations: 59.91 kB / 0.8317 GB, free: 0.6953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.03811, allocations: 3.938 kB / 0.8317 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.03813, allocations: 11.98 kB / 0.8317 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.03813, allocations: 0 / 0.8317 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.03813, allocations: 8 kB / 0.8317 GB, free: 0.6719 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.03839, allocations: 246 kB / 0.832 GB, free: 420 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.0385, allocations: 71.62 kB / 0.832 GB, free: 348 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.03853, allocations: 11.98 kB / 0.832 GB, free: 336 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.03864, allocations: 11.94 kB / 0.832 GB, free: 324 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.0387, allocations: 27.95 kB / 0.8321 GB, free: 296 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.03871, allocations: 11.98 kB / 0.8321 GB, free: 284 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001011/0.03881, allocations: 189.1 kB / 0.8323 GB, free: 96 kB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03881, allocations: 0 / 0.8323 GB, free: 96 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002108/0.03903, allocations: 48 kB / 0.8323 GB, free: 48 kB / 0.7761 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.0008546/0.03988, allocations: 356.7 kB / 0.8327 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.0401, allocations: 151.8 kB / 0.8328 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.0401, allocations: 0 / 0.8328 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/0.04018, allocations: 83.52 kB / 0.8329 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.04038, allocations: 51.42 kB / 0.8329 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.04113, allocations: 443.1 kB / 0.8333 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.04119, allocations: 90.05 kB / 0.8334 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000126/0.04131, allocations: 74.95 kB / 0.8335 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.04147, allocations: 158.1 kB / 0.8337 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of SimCode: time 8.32e-07/0.04147, allocations: 0 / 0.8337 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of Templates: time 0.005627/0.0471, allocations: 3.17 MB / 0.8368 GB, free: 11.57 MB / 0.7917 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.198960786219686]