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.001306/0.001306, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.0009886/0.0009886, allocations: 159.7 kB / 24.96 MB, free: 8.715 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.9606/0.9606, allocations: 177.1 MB / 205.4 MB, free: 5.461 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.967/1.967, allocations: 389.6 MB / 0.6362 GB, free: 12.29 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 2.385e-06/2.385e-06, allocations: 0 / 0.7759 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/3.027e-05, allocations: 9.766 kB / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002357/0.002387, allocations: 0.7317 MB / 0.7767 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.00417, allocations: 1.111 MB / 0.7778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.004222, allocations: 3.656 kB / 0.7778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.004259, allocations: 3.938 kB / 0.7778 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.557e-05/0.004344, allocations: 7.172 kB / 0.7778 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.004702, allocations: 49.23 kB / 0.7778 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.004831, allocations: 50.73 kB / 0.7779 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.004924, allocations: 8 kB / 0.7779 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/0.005019, allocations: 26.16 kB / 0.7779 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.005078, allocations: 21.83 kB / 0.7779 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.005097, allocations: 4 kB / 0.7779 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.005202, allocations: 23.83 kB / 0.7779 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.005227, allocations: 13.3 kB / 0.778 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.005261, allocations: 16.16 kB / 0.778 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.00541, allocations: 59.78 kB / 0.778 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005414, allocations: 3.938 kB / 0.778 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005415, allocations: 0 / 0.778 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.005418, allocations: 0 / 0.778 GB, free: 3.266 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.0004421/0.00586, allocations: 252.9 kB / 0.7783 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.005902, allocations: 13.34 kB / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.006014, allocations: 11.7 kB / 0.7783 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.006118, allocations: 117.7 kB / 0.7784 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.00613, allocations: 384 / 0.7784 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.006142, allocations: 8.375 kB / 0.7784 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.006283, allocations: 66.86 kB / 0.7785 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.006292, allocations: 192 / 0.7785 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.0063, allocations: 384 / 0.7785 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.006307, allocations: 1.469 kB / 0.7785 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.006342, allocations: 15.94 kB / 0.7785 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.006659, allocations: 157.4 kB / 0.7786 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.928e-05/0.006738, allocations: 30.52 kB / 0.7787 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.006759, allocations: 12.84 kB / 0.7787 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.006779, allocations: 5 kB / 0.7787 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.543e-05/0.006865, allocations: 55.59 kB / 0.7787 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.006867, allocations: 0.5938 kB / 0.7787 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001498/0.007016, allocations: 62.17 kB / 0.7788 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.00706, allocations: 51.41 kB / 0.7789 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.007139, allocations: 108.6 kB / 0.779 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.007159, allocations: 29.7 kB / 0.779 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.007201, allocations: 92.08 kB / 0.7791 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.007222, allocations: 7.906 kB / 0.7791 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.007271, allocations: 30.44 kB / 0.7791 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.007367, allocations: 310.8 kB / 0.7794 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.007392, allocations: 8.547 kB / 0.7794 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.007429, allocations: 35.48 kB / 0.7795 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.028e-05/0.0075, allocations: 45.77 kB / 0.7795 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.007502, allocations: 0 / 0.7795 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001109/0.007613, allocations: 66.55 kB / 0.7796 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.007629, allocations: 4 kB / 0.7796 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.007635, allocations: 3.938 kB / 0.7796 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.007652, allocations: 12.38 kB / 0.7796 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.742e-05/0.007749, allocations: 12.86 kB / 0.7796 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.007753, allocations: 0 / 0.7796 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.007793, allocations: 9.5 kB / 0.7796 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.007806, allocations: 8 kB / 0.7796 GB, free: 1.484 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 8.536e-05/0.007892, allocations: 113.8 kB / 0.7797 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.007905, allocations: 0.5312 kB / 0.7797 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.008024, allocations: 62.05 kB / 0.7798 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.00803, allocations: 8.656 kB / 0.7798 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.008032, allocations: 0 / 0.7798 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.008035, allocations: 1.781 kB / 0.7798 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.008253, allocations: 202.8 kB / 0.78 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008256, allocations: 3.938 kB / 0.78 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.008306, allocations: 7.984 kB / 0.78 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.008309, allocations: 4.969 kB / 0.78 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.008317, allocations: 3.938 kB / 0.78 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.008319, allocations: 0 / 0.78 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.00832, allocations: 0.5625 kB / 0.78 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.008435, allocations: 145 kB / 0.7801 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.008447, allocations: 7.938 kB / 0.7801 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.008461, allocations: 7.938 kB / 0.7802 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.008534, allocations: 4.875 kB / 0.7802 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.008572, allocations: 11.98 kB / 0.7802 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.008583, allocations: 0 / 0.7802 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.786e-05/0.008601, allocations: 13.67 kB / 0.7802 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.008601, allocations: 0 / 0.7802 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002142/0.008815, allocations: 12.56 kB / 0.7802 GB, free: 0.8359 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.0001376/0.008952, allocations: 85.88 kB / 0.7803 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.00906, allocations: 40.77 kB / 0.7803 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.009064, allocations: 1.219 kB / 0.7803 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.009099, allocations: 12.86 kB / 0.7803 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.009299, allocations: 16.7 kB / 0.7803 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.009801, allocations: 141.5 kB / 0.7805 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.112e-05/0.009842, allocations: 55.89 kB / 0.7805 GB, free: 440 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.009879, allocations: 12.86 kB / 0.7805 GB, free: 428 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.00994, allocations: 51.38 kB / 0.7806 GB, free: 376 kB / 0.7292 GB Notification: Performance of SimCode: time 8.11e-07/0.009941, allocations: 4.844 kB / 0.7806 GB, free: 372 kB / 0.7292 GB Notification: Performance of Templates: time 0.003157/0.0131, allocations: 0.863 MB / 0.7814 GB, free: 15.55 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: 4.931416087783873]