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.000937/0.000937, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.000992/0.000992, allocations: 168.3 kB / 25.04 MB, free: 9.195 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.9324/0.9324, allocations: 177.1 MB / 205.5 MB, free: 5.43 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.909/1.909, allocations: 389.6 MB / 0.6363 GB, free: 12.27 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.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 1.693e-06/1.693e-06, allocations: 0 / 0.7761 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.202e-05, allocations: 6.25 kB / 0.7761 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.00193/0.001952, allocations: 0.7961 MB / 0.7769 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.003486, allocations: 1.214 MB / 0.7781 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.506e-05/0.003541, allocations: 0 / 0.7781 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.003586, allocations: 3.938 kB / 0.7781 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.075e-05/0.003676, allocations: 21.05 kB / 0.7781 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.004147, allocations: 133.3 kB / 0.7782 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.004343, allocations: 131.8 kB / 0.7784 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.004437, allocations: 16.16 kB / 0.7784 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.004565, allocations: 71.88 kB / 0.7785 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.004659, allocations: 39.92 kB / 0.7785 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.004686, allocations: 16.69 kB / 0.7785 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.004777, allocations: 27.98 kB / 0.7785 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.004799, allocations: 13.58 kB / 0.7785 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.004852, allocations: 47.91 kB / 0.7786 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.005027, allocations: 111.7 kB / 0.7787 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005029, allocations: 0 / 0.7787 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.72e-07/0.00503, allocations: 2.75 kB / 0.7787 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.005034, allocations: 0 / 0.7787 GB, free: 2.695 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.000426/0.00546, allocations: 302.4 kB / 0.779 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.005498, allocations: 17.33 kB / 0.779 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.005606, allocations: 16.86 kB / 0.779 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.251e-05/0.005699, allocations: 113.7 kB / 0.7791 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.005715, allocations: 8.375 kB / 0.7791 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.005734, allocations: 11.78 kB / 0.7791 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.005858, allocations: 70.92 kB / 0.7792 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.005866, allocations: 192 / 0.7792 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.005874, allocations: 384 / 0.7792 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.005883, allocations: 12.06 kB / 0.7792 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/0.005912, allocations: 8 kB / 0.7792 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.006226, allocations: 192.2 kB / 0.7794 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.292e-05/0.006309, allocations: 40.19 kB / 0.7795 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.00633, allocations: 12.84 kB / 0.7795 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.006345, allocations: 0 / 0.7795 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.006446, allocations: 75.42 kB / 0.7795 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.006448, allocations: 0.6562 kB / 0.7795 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000169/0.006617, allocations: 77.58 kB / 0.7796 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.006656, allocations: 56.72 kB / 0.7797 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.006733, allocations: 118.7 kB / 0.7798 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.006756, allocations: 29.7 kB / 0.7798 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.006805, allocations: 101.5 kB / 0.7799 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.006828, allocations: 19.84 kB / 0.7799 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.006894, allocations: 41.61 kB / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003733/0.007267, allocations: 314.8 kB / 0.7803 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.168e-05/0.007339, allocations: 58.2 kB / 0.7803 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.966e-05/0.007419, allocations: 90.83 kB / 0.7804 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.007535, allocations: 116.7 kB / 0.7805 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.007538, allocations: 1.125 kB / 0.7805 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001964/0.007734, allocations: 181.9 kB / 0.7807 GB, free: 444 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.007765, allocations: 37.69 kB / 0.7807 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.00777, allocations: 0.5 kB / 0.7807 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.007782, allocations: 4.781 kB / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.007865, allocations: 15.98 kB / 0.7808 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.00787, allocations: 5.062 kB / 0.7808 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.007979, allocations: 31.92 kB / 0.7808 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.007999, allocations: 12.8 kB / 0.7808 GB, free: 332 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 7.29e-05/0.008072, allocations: 115.1 kB / 0.7809 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.008086, allocations: 11.92 kB / 0.7809 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.985e-05/0.008186, allocations: 62.11 kB / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.008189, allocations: 0.5312 kB / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.008191, allocations: 8.594 kB / 0.781 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008194, allocations: 0 / 0.781 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.00838, allocations: 212.6 kB / 0.7812 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.008383, allocations: 3.984 kB / 0.7812 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.008419, allocations: 11.94 kB / 0.7812 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008421, allocations: 0 / 0.7812 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.008427, allocations: 0 / 0.7812 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.008429, allocations: 1.5 kB / 0.7812 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00843, allocations: 4 kB / 0.7812 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.008532, allocations: 155.5 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.008542, allocations: 11.92 kB / 0.7814 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.008554, allocations: 5.125 kB / 0.7814 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.539e-05/0.008609, allocations: 4 kB / 0.7814 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.008637, allocations: 3.984 kB / 0.7814 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.008643, allocations: 9.031 kB / 0.7814 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.138e-05/0.008664, allocations: 20.84 kB / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.008664, allocations: 0 / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002311/0.008895, allocations: 29.11 kB / 0.7814 GB, free: 15.62 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.0001068/0.009002, allocations: 85.44 kB / 0.7815 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.009205, allocations: 155.2 kB / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.009208, allocations: 3.938 kB / 0.7817 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.009246, allocations: 20.84 kB / 0.7817 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.009441, allocations: 18.59 kB / 0.7817 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.009893, allocations: 178.1 kB / 0.7819 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.11e-05/0.009934, allocations: 60.84 kB / 0.7819 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.009963, allocations: 4 kB / 0.7819 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/0.01006, allocations: 75.34 kB / 0.782 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of SimCode: time 1.403e-06/0.01006, allocations: 0.9062 kB / 0.782 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of Templates: time 0.003934/0.01399, allocations: 1.645 MB / 0.7836 GB, free: 13.41 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.875453016720712]