Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.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.0007691/0.0007691, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001775, 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.0007108/0.0007108, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009794/0.00169, 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 1.011/1.011, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08868/1.1, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.951/1.951, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.521/2.472, allocations: 127.1 MB / 0.7435 GB, free: 4.543 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7448 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.799e-05, allocations: 3.188 kB / 0.7448 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001536/0.001554, allocations: 0.7253 MB / 0.7455 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.002664, allocations: 1.118 MB / 0.7466 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.002698, allocations: 0 / 0.7466 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.002721, allocations: 3.938 kB / 0.7466 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.722e-05/0.002758, allocations: 10.73 kB / 0.7466 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.002913, allocations: 44.58 kB / 0.7466 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.552e-05/0.003008, allocations: 48.52 kB / 0.7467 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.389e-05/0.003082, allocations: 15.97 kB / 0.7467 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006091/0.009174, allocations: 26.06 kB / 0.7467 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.395e-05/0.009238, allocations: 23.3 kB / 0.7467 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.009253, allocations: 4 kB / 0.7467 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.358e-05/0.009336, allocations: 24.84 kB / 0.7468 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.009361, allocations: 9.641 kB / 0.7468 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.009386, allocations: 10.72 kB / 0.7468 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.009516, allocations: 42.91 kB / 0.7468 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.009528, allocations: 0 / 0.7468 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.42e-07/0.009529, allocations: 0.7656 kB / 0.7468 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.009543, allocations: 0.5938 kB / 0.7468 GB, free: 1.195 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004661/0.01001, allocations: 274 kB / 0.7471 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.01004, allocations: 8.031 kB / 0.7471 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.01017, allocations: 86.03 kB / 0.7472 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.898e-05/0.01026, allocations: 119.3 kB / 0.7473 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.01027, allocations: 8.375 kB / 0.7473 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.01029, allocations: 384 / 0.7473 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.0104, allocations: 71.61 kB / 0.7474 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.0104, allocations: 0.8438 kB / 0.7474 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.01041, allocations: 1.469 kB / 0.7474 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.01042, allocations: 5.031 kB / 0.7474 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.01045, allocations: 11.92 kB / 0.7474 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.01069, allocations: 153.8 kB / 0.7475 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.03e-05/0.01076, allocations: 38.56 kB / 0.7476 GB, free: 348 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.01078, allocations: 8.859 kB / 0.7476 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.01079, allocations: 2.312 kB / 0.7476 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.603e-05/0.01087, allocations: 55.52 kB / 0.7476 GB, free: 268 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.01087, allocations: 0 / 0.7476 GB, free: 268 kB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001183/0.01099, allocations: 57.61 kB / 0.7477 GB, free: 204 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.01102, allocations: 67.27 kB / 0.7478 GB, free: 124 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.01109, allocations: 113.6 kB / 0.7479 GB, free: 0 / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.01112, allocations: 25.7 kB / 0.7479 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.01115, allocations: 88.08 kB / 0.748 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.01117, allocations: 15.89 kB / 0.748 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.47e-05/0.01121, allocations: 17.72 kB / 0.748 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.01129, allocations: 322.8 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.0113, allocations: 4 kB / 0.7483 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.01133, allocations: 40.94 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.706e-05/0.01139, allocations: 49.7 kB / 0.7484 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01139, allocations: 0 / 0.7484 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.435e-05/0.01148, allocations: 57.61 kB / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.01149, allocations: 4 kB / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.0115, allocations: 4 kB / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01151, allocations: 6.688 kB / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.01158, allocations: 19.92 kB / 0.7485 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.01159, allocations: 0 / 0.7485 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.01162, allocations: 11.94 kB / 0.7485 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.01163, allocations: 0 / 0.7485 GB, free: 15.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.188e-05/0.01169, allocations: 109.8 kB / 0.7486 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.0117, allocations: 11.98 kB / 0.7486 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.019e-05/0.01178, allocations: 56.78 kB / 0.7487 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01179, allocations: 7.938 kB / 0.7487 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.01179, allocations: 3.984 kB / 0.7487 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01179, allocations: 0 / 0.7487 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.01196, allocations: 194.8 kB / 0.7489 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01196, allocations: 0 / 0.7489 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/0.01501, allocations: 7.938 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.01503, allocations: 12.52 kB / 0.7489 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01503, allocations: 0.6875 kB / 0.7489 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.01504, allocations: 7.984 kB / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01504, allocations: 0.5312 kB / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01504, allocations: 0 / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.059e-05/0.01513, allocations: 145.5 kB / 0.749 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.01515, allocations: 8.781 kB / 0.7491 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/0.01521, allocations: 7.984 kB / 0.7491 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.01523, allocations: 16.55 kB / 0.7491 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.01524, allocations: 0 / 0.7491 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.46e-05/0.01526, allocations: 9.766 kB / 0.7491 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01526, allocations: 0 / 0.7491 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000189/0.01545, allocations: 13.44 kB / 0.7491 GB, free: 14.65 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001227/0.01557, allocations: 92.28 kB / 0.7492 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.572e-05/0.01566, allocations: 29.5 kB / 0.7492 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.01566, allocations: 0.5312 kB / 0.7492 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.0157, allocations: 22.56 kB / 0.7492 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.0159, allocations: 73.39 kB / 0.7493 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.01658, allocations: 145.3 kB / 0.7494 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.01662, allocations: 55.86 kB / 0.7495 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.01665, allocations: 8.734 kB / 0.7495 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.0167, allocations: 55.38 kB / 0.7496 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.0167, allocations: 1.688 kB / 0.7496 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.005626/0.02233, allocations: 0.8684 MB / 0.7504 GB, free: 13.29 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.053347208537161]