Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0007926/0.0007926, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009852/0.001778, 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.0007497/0.0007497, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009896/0.001739, 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 1.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09809/1.136, allocations: 53.65 MB / 243.3 MB, free: 15.6 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 1.956/1.956, allocations: 389.9 MB / 0.619 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4955/2.452, allocations: 127.1 MB / 0.7432 GB, free: 4.645 MB / 0.7136 GB " [Timeout remaining time 178] 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7444 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.582e-05, allocations: 3.938 kB / 0.7444 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001765/0.001781, allocations: 0.8035 MB / 0.7452 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.003221, allocations: 1.218 MB / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.003265, allocations: 0.8125 kB / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.003292, allocations: 5.141 kB / 0.7464 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.8e-05/0.00334, allocations: 14.28 kB / 0.7464 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.003706, allocations: 136.4 kB / 0.7466 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.003912, allocations: 132.5 kB / 0.7467 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.004008, allocations: 20.69 kB / 0.7467 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.004147, allocations: 71.12 kB / 0.7468 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.452e-05/0.004241, allocations: 43.86 kB / 0.7468 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.004271, allocations: 12.72 kB / 0.7468 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.004364, allocations: 31.86 kB / 0.7469 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.004387, allocations: 12.84 kB / 0.7469 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.00444, allocations: 27.94 kB / 0.7469 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.004621, allocations: 83.8 kB / 0.747 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-05/0.004637, allocations: 1.969 kB / 0.747 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004638, allocations: 0 / 0.747 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.004657, allocations: 4 kB / 0.747 GB, free: 0.8086 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000559/0.005216, allocations: 322.1 kB / 0.7473 GB, free: 476 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.00525, allocations: 8.688 kB / 0.7473 GB, free: 468 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.0054, allocations: 106 kB / 0.7474 GB, free: 344 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.005506, allocations: 115.1 kB / 0.7475 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.005523, allocations: 4.375 kB / 0.7475 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.005543, allocations: 12.38 kB / 0.7475 GB, free: 188 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.005678, allocations: 70.92 kB / 0.7476 GB, free: 108 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.005686, allocations: 2.625 kB / 0.7476 GB, free: 108 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.005695, allocations: 384 / 0.7476 GB, free: 108 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.005704, allocations: 4.125 kB / 0.7476 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.261e-05/0.005747, allocations: 23.84 kB / 0.7476 GB, free: 80 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.006102, allocations: 188.2 kB / 0.7478 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.198e-05/0.006184, allocations: 40.81 kB / 0.7478 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.006204, allocations: 12.86 kB / 0.7479 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.006226, allocations: 3.984 kB / 0.7479 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.006347, allocations: 75.42 kB / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/0.00635, allocations: 1.406 kB / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001646/0.006514, allocations: 69.61 kB / 0.748 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.006552, allocations: 51.41 kB / 0.7481 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.006636, allocations: 130.6 kB / 0.7482 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.00666, allocations: 32.45 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.006708, allocations: 96.03 kB / 0.7483 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.006734, allocations: 23.78 kB / 0.7483 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.006799, allocations: 41.67 kB / 0.7484 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.006891, allocations: 314.8 kB / 0.7487 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.006964, allocations: 57.67 kB / 0.7487 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.007052, allocations: 86.84 kB / 0.7488 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.007168, allocations: 122.3 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.007171, allocations: 0 / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002066/0.007378, allocations: 176.8 kB / 0.7491 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.007417, allocations: 33.7 kB / 0.7491 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.007423, allocations: 4.719 kB / 0.7491 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.007433, allocations: 0.6875 kB / 0.7491 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.00753, allocations: 19.98 kB / 0.7491 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.007533, allocations: 0.5312 kB / 0.7491 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.007644, allocations: 25.48 kB / 0.7492 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.007664, allocations: 15.92 kB / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.118e-05/0.007745, allocations: 122.8 kB / 0.7493 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.00776, allocations: 11.92 kB / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.007861, allocations: 62.67 kB / 0.7494 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.007863, allocations: 0 / 0.7494 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.007866, allocations: 0.5938 kB / 0.7494 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007869, allocations: 0 / 0.7494 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.008047, allocations: 219.7 kB / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008049, allocations: 0.5938 kB / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.008094, allocations: 11.94 kB / 0.7496 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.008103, allocations: 8.516 kB / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.008106, allocations: 5.25 kB / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.008115, allocations: 7.984 kB / 0.7496 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008116, allocations: 0 / 0.7496 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.008117, allocations: 0 / 0.7496 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.008224, allocations: 160 kB / 0.7498 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.008238, allocations: 9.25 kB / 0.7498 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.008301, allocations: 0 / 0.7498 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.008335, allocations: 11.98 kB / 0.7498 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.00834, allocations: 0 / 0.7498 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.306e-05/0.008363, allocations: 21.58 kB / 0.7498 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.008363, allocations: 0 / 0.7498 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002479/0.008611, allocations: 33.36 kB / 0.7498 GB, free: 13.61 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.0001098/0.008721, allocations: 80.41 kB / 0.7499 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.008913, allocations: 155.2 kB / 0.7501 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.008919, allocations: 0 / 0.7501 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.008959, allocations: 30.48 kB / 0.7501 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.009157, allocations: 15.98 kB / 0.7501 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009202/0.01008, allocations: 185.9 kB / 0.7503 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/0.01012, allocations: 64.94 kB / 0.7503 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.01015, allocations: 4 kB / 0.7504 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.01025, allocations: 67.36 kB / 0.7504 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.01025, allocations: 0.5312 kB / 0.7504 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.004424/0.01467, allocations: 1.692 MB / 0.7521 GB, free: 11.34 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.064005172811449]