Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.0006452/0.0006452, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008429/0.001488, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006721/0.0006721, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001677, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9514/0.9514, allocations: 177.1 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08871/1.04, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.006/2.006, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.534/2.54, allocations: 127.1 MB / 0.7432 GB, free: 4.613 MB / 0.7136 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7445 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.433e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002065/0.00209, allocations: 0.7468 MB / 0.7452 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.003424, allocations: 1.318 MB / 0.7465 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.003465, allocations: 0 / 0.7465 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.003491, allocations: 5.031 kB / 0.7465 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-05/0.003545, allocations: 20.5 kB / 0.7465 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.004033, allocations: 296.2 kB / 0.7468 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.004279, allocations: 253.3 kB / 0.747 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.004361, allocations: 21.05 kB / 0.7471 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.004501, allocations: 147.8 kB / 0.7472 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.004628, allocations: 80.33 kB / 0.7473 GB, free: 492 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.004661, allocations: 20 kB / 0.7473 GB, free: 472 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.37e-05/0.004745, allocations: 36.72 kB / 0.7473 GB, free: 436 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.004766, allocations: 15.92 kB / 0.7473 GB, free: 420 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.004824, allocations: 49.5 kB / 0.7474 GB, free: 372 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.005008, allocations: 151.6 kB / 0.7475 GB, free: 220 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.671e-05/0.005025, allocations: 0 / 0.7475 GB, free: 220 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005026, allocations: 0 / 0.7475 GB, free: 220 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.005043, allocations: 1.125 kB / 0.7475 GB, free: 220 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004841/0.005527, allocations: 417.5 kB / 0.7479 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.005558, allocations: 11.88 kB / 0.7479 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.005606, allocations: 17.95 kB / 0.748 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.246e-05/0.005698, allocations: 121.7 kB / 0.7481 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.005718, allocations: 9.172 kB / 0.7481 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.005744, allocations: 24.31 kB / 0.7481 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.447e-05/0.005828, allocations: 55.53 kB / 0.7482 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.005837, allocations: 4.172 kB / 0.7482 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.005844, allocations: 1 kB / 0.7482 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.00585, allocations: 4.125 kB / 0.7482 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.005871, allocations: 16.98 kB / 0.7482 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.006168, allocations: 208.2 kB / 0.7484 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.98e-05/0.006208, allocations: 25.61 kB / 0.7484 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.006224, allocations: 12.94 kB / 0.7484 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.00623, allocations: 0 / 0.7484 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.006345, allocations: 95.34 kB / 0.7485 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 7.92e-07/0.006346, allocations: 0 / 0.7485 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001433/0.006489, allocations: 93.52 kB / 0.7486 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.006521, allocations: 59.41 kB / 0.7487 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.006596, allocations: 130.6 kB / 0.7488 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.006622, allocations: 41.58 kB / 0.7488 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.006667, allocations: 96.08 kB / 0.7489 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.006687, allocations: 24.98 kB / 0.7489 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.006758, allocations: 57.66 kB / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.006831, allocations: 326.8 kB / 0.7493 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.006939, allocations: 145.1 kB / 0.7494 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.00706, allocations: 201.1 kB / 0.7496 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.0072, allocations: 216 kB / 0.7498 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.007203, allocations: 0 / 0.7498 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002558/0.007459, allocations: 380.2 kB / 0.7502 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/0.007517, allocations: 109 kB / 0.7503 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007522, allocations: 0.7188 kB / 0.7503 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.007533, allocations: 7.062 kB / 0.7503 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.946e-05/0.007552, allocations: 4 kB / 0.7503 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.007556, allocations: 0 / 0.7503 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.007753, allocations: 59.89 kB / 0.7504 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.007776, allocations: 15.98 kB / 0.7504 GB, free: 12.98 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 7.147e-05/0.007847, allocations: 133.9 kB / 0.7505 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.007859, allocations: 15.98 kB / 0.7505 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.007882, allocations: 12.38 kB / 0.7506 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007884, allocations: 3.938 kB / 0.7506 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.007885, allocations: 0 / 0.7506 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.00789, allocations: 7.984 kB / 0.7506 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.739e-05/0.007958, allocations: 83.78 kB / 0.7506 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.007958, allocations: 0 / 0.7506 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-06/0.007964, allocations: 4 kB / 0.7506 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-06/0.007971, allocations: 3.953 kB / 0.7507 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007973, allocations: 0 / 0.7507 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.007977, allocations: 8.469 kB / 0.7507 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.00798, allocations: 3.984 kB / 0.7507 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007981, allocations: 0.9375 kB / 0.7507 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.979e-05/0.00806, allocations: 97.03 kB / 0.7508 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.008072, allocations: 8.578 kB / 0.7508 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.233e-05/0.008085, allocations: 0 / 0.7508 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.008108, allocations: 16.8 kB / 0.7508 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.008111, allocations: 0 / 0.7508 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.7e-05/0.008128, allocations: 24.53 kB / 0.7508 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008129, allocations: 0 / 0.7508 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001403/0.008269, allocations: 47.89 kB / 0.7508 GB, free: 12.48 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001001/0.008369, allocations: 91.56 kB / 0.7509 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.008628, allocations: 390.4 kB / 0.7513 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.008632, allocations: 0 / 0.7513 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.008662, allocations: 32.78 kB / 0.7513 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.008786, allocations: 30.17 kB / 0.7514 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.009201, allocations: 186.2 kB / 0.7515 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.988e-05/0.009231, allocations: 63.34 kB / 0.7516 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.009254, allocations: 9.219 kB / 0.7516 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.009371, allocations: 91.33 kB / 0.7517 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of SimCode: time 7.02e-07/0.009371, allocations: 0.9375 kB / 0.7517 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of Templates: time 0.004691/0.01406, allocations: 3.271 MB / 0.7549 GB, free: 8.395 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.997459921054542]