Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0006823/0.0006823, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000944/0.001626, 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.0006839/0.0006839, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009225/0.001606, 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.9365/0.9365, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09583/1.032, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.005/2.005, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4876/2.492, allocations: 127.1 MB / 0.7435 GB, free: 4.527 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.7448 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.608e-05, allocations: 4.703 kB / 0.7448 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002035/0.002061, allocations: 0.7979 MB / 0.7456 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.003497, allocations: 1.12 MB / 0.7467 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.003545, allocations: 2.469 kB / 0.7467 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.003576, allocations: 3.938 kB / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.827e-05/0.003634, allocations: 11.97 kB / 0.7467 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.003889, allocations: 60.73 kB / 0.7468 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.004061, allocations: 68.34 kB / 0.7468 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.004167, allocations: 27.41 kB / 0.7468 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.004286, allocations: 46.91 kB / 0.7469 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.004353, allocations: 26.47 kB / 0.7469 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.004374, allocations: 8.875 kB / 0.7469 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.355e-05/0.004458, allocations: 15.98 kB / 0.7469 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.004487, allocations: 13.8 kB / 0.747 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.004515, allocations: 12 kB / 0.747 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.004659, allocations: 57.08 kB / 0.747 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.566e-05/0.004674, allocations: 4 kB / 0.747 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.133e-06/0.004675, allocations: 0 / 0.747 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.004689, allocations: 1.062 kB / 0.747 GB, free: 0.9844 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000484/0.005173, allocations: 284.4 kB / 0.7473 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.005207, allocations: 8.031 kB / 0.7473 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.005248, allocations: 12.12 kB / 0.7473 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.005352, allocations: 121.6 kB / 0.7474 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.005368, allocations: 12.36 kB / 0.7474 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.005385, allocations: 8.312 kB / 0.7474 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.005513, allocations: 62.94 kB / 0.7475 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.005521, allocations: 192 / 0.7475 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.005529, allocations: 384 / 0.7475 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005536, allocations: 4.125 kB / 0.7475 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.467e-05/0.00556, allocations: 8.625 kB / 0.7475 GB, free: 432 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.005938, allocations: 196.8 kB / 0.7477 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.962e-05/0.006028, allocations: 23.14 kB / 0.7477 GB, free: 188 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.006047, allocations: 13.45 kB / 0.7477 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.006067, allocations: 0.5938 kB / 0.7477 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.006169, allocations: 68.97 kB / 0.7478 GB, free: 92 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.006171, allocations: 0 / 0.7478 GB, free: 92 kB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001392/0.00631, allocations: 57.67 kB / 0.7479 GB, free: 28 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.006368, allocations: 55.41 kB / 0.7479 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.006454, allocations: 131.7 kB / 0.748 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.006469, allocations: 29.7 kB / 0.7481 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.00651, allocations: 88.08 kB / 0.7482 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.006529, allocations: 16.66 kB / 0.7482 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.006577, allocations: 29.69 kB / 0.7482 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.006744, allocations: 323.5 kB / 0.7485 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.006773, allocations: 7.938 kB / 0.7485 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.193e-05/0.006825, allocations: 63.05 kB / 0.7486 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.434e-05/0.00692, allocations: 72.89 kB / 0.7486 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.006922, allocations: 0 / 0.7486 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001301/0.007052, allocations: 79.86 kB / 0.7487 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.007069, allocations: 12.56 kB / 0.7487 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.007075, allocations: 0 / 0.7487 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.007091, allocations: 4 kB / 0.7487 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.007206, allocations: 24.78 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.007211, allocations: 7.938 kB / 0.7488 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.007262, allocations: 4.5 kB / 0.7488 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.007275, allocations: 4.75 kB / 0.7488 GB, free: 15 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: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * 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 7.414e-05/0.007349, allocations: 122.3 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.007365, allocations: 11.92 kB / 0.7489 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.007391, allocations: 12.44 kB / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.007393, allocations: 0 / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.007395, allocations: 0 / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.0074, allocations: 3.984 kB / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.00763, allocations: 222.7 kB / 0.7491 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.007634, allocations: 6.688 kB / 0.7491 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.007669, allocations: 4 kB / 0.7491 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.00768, allocations: 7.953 kB / 0.7492 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.007684, allocations: 4 kB / 0.7492 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.007691, allocations: 3.984 kB / 0.7492 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007693, allocations: 0 / 0.7492 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007694, allocations: 0 / 0.7492 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.007806, allocations: 154.4 kB / 0.7493 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.00782, allocations: 11.98 kB / 0.7493 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.008e-05/0.00788, allocations: 0 / 0.7493 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.007912, allocations: 7.984 kB / 0.7493 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.007917, allocations: 0 / 0.7493 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.243e-05/0.007939, allocations: 12.86 kB / 0.7493 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.007939, allocations: 0 / 0.7493 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000246/0.008185, allocations: 25.52 kB / 0.7494 GB, free: 14.37 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 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001472/0.008333, allocations: 88.34 kB / 0.7494 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.008444, allocations: 54.67 kB / 0.7495 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.00845, allocations: 0 / 0.7495 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.008492, allocations: 20.8 kB / 0.7495 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.008728, allocations: 104.7 kB / 0.7496 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.009212, allocations: 165.4 kB / 0.7498 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.219e-05/0.009254, allocations: 59.34 kB / 0.7498 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.244e-05/0.009287, allocations: 5.094 kB / 0.7498 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.009355, allocations: 67.3 kB / 0.7499 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.009355, allocations: 0.6562 kB / 0.7499 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.002734/0.01209, allocations: 1.065 MB / 0.7509 GB, free: 12.73 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.770992202684283]