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.001025/0.001025, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 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.001074/0.001074, allocations: 163.3 kB / 24.97 MB, free: 9.125 MB / 18.57 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.9778/0.9778, allocations: 177.1 MB / 205.4 MB, free: 5.496 MB / 186.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.977/1.977, allocations: 389.6 MB / 0.6362 GB, free: 12.28 MB / 0.6042 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.713e-06/1.713e-06, allocations: 0 / 0.776 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.188e-05, allocations: 7.781 kB / 0.776 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002185/0.002207, allocations: 0.7325 MB / 0.7767 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.003858, allocations: 1.11 MB / 0.7778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.003917, allocations: 4 kB / 0.7778 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.003952, allocations: 5.25 kB / 0.7778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.685e-05/0.004039, allocations: 3.984 kB / 0.7778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.004384, allocations: 52.58 kB / 0.7778 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.004507, allocations: 40.84 kB / 0.7779 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.004605, allocations: 15.97 kB / 0.7779 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.744e-05/0.004702, allocations: 25.95 kB / 0.7779 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.004758, allocations: 16.73 kB / 0.7779 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.004776, allocations: 4.562 kB / 0.7779 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.085e-05/0.004867, allocations: 21.92 kB / 0.7779 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.00489, allocations: 9.297 kB / 0.7779 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.004922, allocations: 13.73 kB / 0.778 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.005066, allocations: 64 kB / 0.778 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005068, allocations: 0 / 0.778 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.273e-06/0.00507, allocations: 0 / 0.778 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.005074, allocations: 0 / 0.778 GB, free: 3.309 MB / 0.7292 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.0004217/0.005495, allocations: 264.8 kB / 0.7783 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.005535, allocations: 9.344 kB / 0.7783 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.542e-05/0.00563, allocations: 8.719 kB / 0.7783 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.76e-05/0.005728, allocations: 117.7 kB / 0.7784 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.00574, allocations: 4.359 kB / 0.7784 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.00575, allocations: 4.375 kB / 0.7784 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.005876, allocations: 66.88 kB / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.005886, allocations: 192 / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.005894, allocations: 384 / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.005899, allocations: 384 / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.005938, allocations: 19.91 kB / 0.7785 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.006234, allocations: 152.3 kB / 0.7786 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.007e-05/0.006324, allocations: 39.94 kB / 0.7787 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.006347, allocations: 12.98 kB / 0.7787 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.006364, allocations: 1.312 kB / 0.7787 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.955e-05/0.006444, allocations: 51.39 kB / 0.7787 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.006446, allocations: 0 / 0.7787 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001275/0.006573, allocations: 57.81 kB / 0.7788 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.00661, allocations: 56.16 kB / 0.7789 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.274e-05/0.006692, allocations: 114.8 kB / 0.779 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.006707, allocations: 27.11 kB / 0.779 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.006753, allocations: 96.08 kB / 0.7791 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.006776, allocations: 11.89 kB / 0.7791 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.006821, allocations: 21.72 kB / 0.7791 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.006927, allocations: 323.3 kB / 0.7794 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.006947, allocations: 8.969 kB / 0.7794 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.006984, allocations: 35.41 kB / 0.7795 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.687e-05/0.007051, allocations: 41.08 kB / 0.7795 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.007054, allocations: 0 / 0.7795 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001094/0.007164, allocations: 67.2 kB / 0.7796 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.007177, allocations: 4 kB / 0.7796 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.007182, allocations: 0 / 0.7796 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.007199, allocations: 8.688 kB / 0.7796 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.007274, allocations: 15.92 kB / 0.7796 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.007276, allocations: 0.9688 kB / 0.7796 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.007318, allocations: 7.938 kB / 0.7796 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.007328, allocations: 4 kB / 0.7796 GB, free: 1.52 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 7.452e-05/0.007402, allocations: 117.8 kB / 0.7797 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.007417, allocations: 7.984 kB / 0.7797 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.077e-05/0.007507, allocations: 54.91 kB / 0.7798 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.007514, allocations: 3.938 kB / 0.7798 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.007516, allocations: 1.344 kB / 0.7798 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.007527, allocations: 11.98 kB / 0.7798 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.007536, allocations: 0 / 0.7798 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.007576, allocations: 4 kB / 0.7798 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.00761, allocations: 9.156 kB / 0.7798 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001034/0.007714, allocations: 128.9 kB / 0.7799 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001398/0.007853, allocations: 232.1 kB / 0.7801 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.415e-05/0.007888, allocations: 12.92 kB / 0.7802 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.689e-05/0.007904, allocations: 12.84 kB / 0.7802 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of Backend: time 2.2e-07/0.007905, allocations: 0.625 kB / 0.7802 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.008221, allocations: 93.5 kB / 0.7803 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of SimCode: time 0.0006418/0.008863, allocations: 0.6393 MB / 0.7809 GB, free: 116 kB / 0.7292 GB Notification: Performance of Templates: time 0.003501/0.01236, allocations: 1.04 MB / 0.7819 GB, free: 15.14 MB / 0.7448 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.0102274576202035]