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.0007084/0.0007084, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009954/0.001704, 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.0007055/0.0007055, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009395/0.001645, 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 0.9942/0.9942, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09127/1.086, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.99/1.99, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.521/2.511, allocations: 127.1 MB / 0.7435 GB, free: 4.539 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.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.503e-06/1.503e-06, allocations: 0 / 0.7448 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.835e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001375/0.001393, allocations: 0.8122 MB / 0.7456 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.002524, allocations: 1.213 MB / 0.7467 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.002566, allocations: 5.188 kB / 0.7468 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.00259, allocations: 8.641 kB / 0.7468 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.002631, allocations: 5.141 kB / 0.7468 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.002936, allocations: 150.2 kB / 0.7469 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.00309, allocations: 120.5 kB / 0.747 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.003171, allocations: 28.91 kB / 0.7471 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.003286, allocations: 66.91 kB / 0.7471 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.003363, allocations: 42.77 kB / 0.7472 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.003384, allocations: 12 kB / 0.7472 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.717e-05/0.003461, allocations: 31.92 kB / 0.7472 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.003484, allocations: 15.19 kB / 0.7472 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.00352, allocations: 24 kB / 0.7472 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.003652, allocations: 87.73 kB / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.003664, allocations: 0 / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003665, allocations: 6.688 kB / 0.7473 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.003677, allocations: 0 / 0.7473 GB, free: 0.6836 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.0004635/0.00414, allocations: 330 kB / 0.7476 GB, free: 340 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.004179, allocations: 8.031 kB / 0.7477 GB, free: 332 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.004321, allocations: 93.97 kB / 0.7477 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.111e-05/0.004412, allocations: 117.7 kB / 0.7479 GB, free: 76 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.004427, allocations: 8.375 kB / 0.7479 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.004446, allocations: 8.969 kB / 0.7479 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.004576, allocations: 71.58 kB / 0.7479 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.004584, allocations: 192 / 0.7479 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.004592, allocations: 5.875 kB / 0.7479 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004598, allocations: 4.125 kB / 0.7479 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.61e-05/0.004624, allocations: 11.98 kB / 0.748 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.004902, allocations: 196.7 kB / 0.7481 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.591e-05/0.004968, allocations: 27.11 kB / 0.7482 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.004985, allocations: 13.88 kB / 0.7482 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.005001, allocations: 4 kB / 0.7482 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.66e-05/0.005087, allocations: 79.45 kB / 0.7483 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.093e-06/0.005089, allocations: 1.219 kB / 0.7483 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001235/0.005212, allocations: 65.67 kB / 0.7483 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.005239, allocations: 51.41 kB / 0.7484 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.724e-05/0.005297, allocations: 127.6 kB / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.005314, allocations: 29.7 kB / 0.7485 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.005351, allocations: 93 kB / 0.7486 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.00537, allocations: 27.77 kB / 0.7486 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.005413, allocations: 33.69 kB / 0.7487 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.816e-05/0.005481, allocations: 329.6 kB / 0.749 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.005529, allocations: 53.69 kB / 0.749 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.005587, allocations: 94.77 kB / 0.7491 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.941e-05/0.005667, allocations: 114.4 kB / 0.7492 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.00567, allocations: 4 kB / 0.7492 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001379/0.005808, allocations: 176.8 kB / 0.7494 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.005838, allocations: 33.7 kB / 0.7494 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.005843, allocations: 4 kB / 0.7494 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.005854, allocations: 0 / 0.7494 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.005929, allocations: 19.92 kB / 0.7495 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.005934, allocations: 7.406 kB / 0.7495 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.00601, allocations: 31.97 kB / 0.7495 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.006022, allocations: 4 kB / 0.7495 GB, free: 14.21 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 7.021e-05/0.006092, allocations: 117.8 kB / 0.7496 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.006105, allocations: 11.92 kB / 0.7496 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.271e-05/0.006188, allocations: 70.03 kB / 0.7497 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.00619, allocations: 0.5625 kB / 0.7497 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.006191, allocations: 0 / 0.7497 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006194, allocations: 3.781 kB / 0.7497 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.006331, allocations: 219.2 kB / 0.7499 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.006332, allocations: 0 / 0.7499 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.00637, allocations: 15.88 kB / 0.7499 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.006377, allocations: 7.891 kB / 0.7499 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.006379, allocations: 4.031 kB / 0.7499 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.006386, allocations: 7.984 kB / 0.7499 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.006387, allocations: 0 / 0.7499 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006388, allocations: 0 / 0.7499 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.7e-05/0.006475, allocations: 151.5 kB / 0.7501 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.006485, allocations: 10.97 kB / 0.7501 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.187e-05/0.006517, allocations: 0 / 0.7501 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.006543, allocations: 7.984 kB / 0.7501 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.006547, allocations: 0 / 0.7501 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.1e-05/0.006568, allocations: 28.77 kB / 0.7501 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006568, allocations: 0 / 0.7501 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001513/0.00672, allocations: 23.95 kB / 0.7502 GB, free: 13.5 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.0001028/0.006822, allocations: 89.19 kB / 0.7502 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.006984, allocations: 161.6 kB / 0.7504 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.006989, allocations: 1 kB / 0.7504 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.007031, allocations: 24.8 kB / 0.7504 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.007196, allocations: 99.69 kB / 0.7505 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/0.007812, allocations: 190 kB / 0.7507 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.348e-05/0.007845, allocations: 64.22 kB / 0.7508 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.007868, allocations: 5.781 kB / 0.7508 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.007942, allocations: 63.36 kB / 0.7508 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of SimCode: time 6.72e-07/0.007942, allocations: 0 / 0.7508 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of Templates: time 0.003316/0.01126, allocations: 1.658 MB / 0.7524 GB, free: 11.16 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.0568163292482495]