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.0009642/0.0009642, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001149/0.001149, allocations: 161 kB / 24.17 MB, free: 328 kB / 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 1.048/1.048, allocations: 177.1 MB / 204.6 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 2.091/2.091, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 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 2.505e-06/2.505e-06, allocations: 0 / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.828e-05, allocations: 4.422 kB / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002333/0.002361, allocations: 0.8001 MB / 0.776 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.004198, allocations: 1.215 MB / 0.7771 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.004263, allocations: 0 / 0.7771 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.004305, allocations: 11.86 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.004415, allocations: 11.98 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005436/0.004958, allocations: 140.6 kB / 0.7773 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.005181, allocations: 123.9 kB / 0.7774 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.00529, allocations: 28.11 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.005437, allocations: 76.73 kB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.691e-05/0.005534, allocations: 35.89 kB / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.005561, allocations: 8 kB / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.005663, allocations: 39.91 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.005685, allocations: 7.984 kB / 0.7776 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.005742, allocations: 35.92 kB / 0.7776 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.005931, allocations: 111.7 kB / 0.7778 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005934, allocations: 4 kB / 0.7778 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005935, allocations: 0 / 0.7778 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.005939, allocations: 3.531 kB / 0.7778 GB, free: 2.762 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004632/0.006402, allocations: 306.4 kB / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.006445, allocations: 13.34 kB / 0.7781 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.006574, allocations: 16.86 kB / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.006682, allocations: 117.7 kB / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.006702, allocations: 8.375 kB / 0.7782 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.006725, allocations: 8.375 kB / 0.7782 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.006877, allocations: 78.8 kB / 0.7783 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.006887, allocations: 192 / 0.7783 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.006896, allocations: 3.125 kB / 0.7783 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.006905, allocations: 4.125 kB / 0.7783 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.148e-05/0.006946, allocations: 23.97 kB / 0.7783 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.007341, allocations: 192.1 kB / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.495e-05/0.007426, allocations: 34.52 kB / 0.7785 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.007446, allocations: 10.3 kB / 0.7785 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.007462, allocations: 0 / 0.7785 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.007584, allocations: 83.44 kB / 0.7786 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.007585, allocations: 0 / 0.7786 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001685/0.007754, allocations: 67.06 kB / 0.7787 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.00779, allocations: 55.41 kB / 0.7787 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.007874, allocations: 122.7 kB / 0.7789 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.007897, allocations: 34.69 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.007945, allocations: 88.09 kB / 0.779 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.007975, allocations: 27.78 kB / 0.779 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.008042, allocations: 38.27 kB / 0.779 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.008143, allocations: 319.4 kB / 0.7793 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-05/0.008215, allocations: 57.61 kB / 0.7794 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.698e-05/0.008302, allocations: 91.77 kB / 0.7795 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.008428, allocations: 113.1 kB / 0.7796 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.00843, allocations: 0 / 0.7796 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002239/0.008654, allocations: 174.2 kB / 0.7798 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.008692, allocations: 37.69 kB / 0.7798 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.008698, allocations: 1.797 kB / 0.7798 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.008718, allocations: 4 kB / 0.7798 GB, free: 464 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.008816, allocations: 19.92 kB / 0.7798 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.008821, allocations: 3.984 kB / 0.7798 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.008941, allocations: 25.05 kB / 0.7798 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.008963, allocations: 11.98 kB / 0.7799 GB, free: 404 kB / 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 8.51e-05/0.009049, allocations: 115.6 kB / 0.78 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.009065, allocations: 7.938 kB / 0.78 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.009178, allocations: 70.03 kB / 0.78 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.009184, allocations: 12.42 kB / 0.78 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.009185, allocations: 0 / 0.78 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.009189, allocations: 0.875 kB / 0.7801 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.009401, allocations: 210.8 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.009403, allocations: 8.781 kB / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.009455, allocations: 11.88 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009458, allocations: 0.5938 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.009465, allocations: 0 / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.009468, allocations: 5.812 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.009469, allocations: 0 / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.009596, allocations: 147.5 kB / 0.7804 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.009609, allocations: 11.88 kB / 0.7804 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.009625, allocations: 7.984 kB / 0.7804 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.009697, allocations: 9.062 kB / 0.7804 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.009732, allocations: 3.984 kB / 0.7804 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.00974, allocations: 4.5 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.009767, allocations: 20.83 kB / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.009767, allocations: 5 kB / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002816/0.01005, allocations: 27.95 kB / 0.7805 GB, free: 15.68 MB / 0.7448 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.0001424/0.01019, allocations: 85.31 kB / 0.7806 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.0104, allocations: 154.8 kB / 0.7807 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.0104, allocations: 0.9375 kB / 0.7807 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.01045, allocations: 20.84 kB / 0.7808 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01068, allocations: 12.84 kB / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.01122, allocations: 185.9 kB / 0.7809 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.01126, allocations: 64.38 kB / 0.781 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.0113, allocations: 5.75 kB / 0.781 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.01141, allocations: 71.36 kB / 0.7811 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of SimCode: time 1.092e-06/0.01142, allocations: 0 / 0.7811 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.00451/0.01592, allocations: 1.644 MB / 0.7827 GB, free: 13.48 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.182447975035757]