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.001388/0.001388, 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.001776/0.001776, allocations: 161.4 kB / 24.16 MB, free: 332 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.013/1.013, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.964/1.964, allocations: 389.6 MB / 0.6354 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.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.515e-06/2.515e-06, allocations: 0 / 0.7751 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.502e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001557/0.001582, allocations: 0.756 MB / 0.7759 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.002905, allocations: 1.216 MB / 0.7771 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.002955, allocations: 0 / 0.7771 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.002985, allocations: 12.52 kB / 0.7771 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.003062, allocations: 14.12 kB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.003453, allocations: 136.3 kB / 0.7772 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.003612, allocations: 127.6 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.003706, allocations: 24.16 kB / 0.7774 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.00382, allocations: 75.86 kB / 0.7774 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.701e-05/0.003897, allocations: 36.84 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.003919, allocations: 12 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.276e-05/0.003982, allocations: 32.58 kB / 0.7775 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.004004, allocations: 15.92 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.004044, allocations: 32.72 kB / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.004194, allocations: 107.7 kB / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004198, allocations: 1.438 kB / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004199, allocations: 0 / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004203, allocations: 3.938 kB / 0.7777 GB, free: 2.871 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.0003974/0.0046, allocations: 314.4 kB / 0.778 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.004642, allocations: 12.09 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.826e-05/0.004741, allocations: 20.86 kB / 0.778 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.445e-05/0.004825, allocations: 117.7 kB / 0.7781 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.004839, allocations: 4.375 kB / 0.7781 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.004857, allocations: 12.38 kB / 0.7781 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.004965, allocations: 66.86 kB / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.004973, allocations: 192 / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.004984, allocations: 8.875 kB / 0.7782 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.00499, allocations: 5.844 kB / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.78e-05/0.005018, allocations: 19.92 kB / 0.7782 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.005306, allocations: 188.2 kB / 0.7784 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/0.005372, allocations: 35.42 kB / 0.7784 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.005387, allocations: 8.859 kB / 0.7784 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.005402, allocations: 8.734 kB / 0.7784 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.393e-05/0.005486, allocations: 73.98 kB / 0.7785 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.005488, allocations: 0 / 0.7785 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001297/0.005617, allocations: 73.73 kB / 0.7786 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.005647, allocations: 51.41 kB / 0.7786 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.853e-05/0.005706, allocations: 122.7 kB / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.005725, allocations: 33.7 kB / 0.7788 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.00576, allocations: 92.08 kB / 0.7789 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.00578, allocations: 30.53 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.005825, allocations: 33.69 kB / 0.7789 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.0059, allocations: 322.8 kB / 0.7792 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.00595, allocations: 53.62 kB / 0.7793 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.058e-05/0.006011, allocations: 93.7 kB / 0.7794 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.006096, allocations: 113 kB / 0.7795 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006099, allocations: 0 / 0.7795 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003469/0.006445, allocations: 174.5 kB / 0.7797 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.006475, allocations: 41.69 kB / 0.7797 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.006481, allocations: 4 kB / 0.7797 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.006493, allocations: 0 / 0.7797 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.006571, allocations: 15.98 kB / 0.7797 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.006575, allocations: 4.906 kB / 0.7797 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.00665, allocations: 24.98 kB / 0.7797 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.006664, allocations: 11.98 kB / 0.7798 GB, free: 0.5078 MB / 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 6.678e-05/0.006731, allocations: 115.4 kB / 0.7799 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.006742, allocations: 15.94 kB / 0.7799 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.075e-05/0.006833, allocations: 66.08 kB / 0.7799 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006834, allocations: 4.812 kB / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.006836, allocations: 0 / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.006839, allocations: 0.5312 kB / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.006976, allocations: 215.6 kB / 0.7802 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006977, allocations: 0 / 0.7802 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.007011, allocations: 12.52 kB / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.007013, allocations: 0 / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.007018, allocations: 0.6562 kB / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007019, allocations: 4 kB / 0.7802 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00702, allocations: 0.6562 kB / 0.7802 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.073e-05/0.007111, allocations: 163.5 kB / 0.7803 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.007122, allocations: 17.3 kB / 0.7803 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.007132, allocations: 0 / 0.7803 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.007166, allocations: 4 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.007194, allocations: 8.641 kB / 0.7804 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.0072, allocations: 4 kB / 0.7804 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.801e-05/0.007218, allocations: 26.58 kB / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007218, allocations: 0 / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001504/0.007368, allocations: 27.95 kB / 0.7804 GB, free: 15.79 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.0001258/0.007494, allocations: 85.28 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.007643, allocations: 151.2 kB / 0.7806 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.007646, allocations: 0 / 0.7806 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/0.007676, allocations: 29.72 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.007822, allocations: 12.64 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.008232, allocations: 186.6 kB / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.458e-05/0.008266, allocations: 60.56 kB / 0.7809 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.008289, allocations: 4.594 kB / 0.7809 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.008361, allocations: 72.41 kB / 0.781 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.008362, allocations: 0 / 0.781 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of Templates: time 0.003169/0.01153, allocations: 1.645 MB / 0.7826 GB, free: 13.59 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: 5.11959850275889]