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.000853/0.000853, allocations: 80.81 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.0009036/0.0009036, allocations: 165.5 kB / 24.96 MB, free: 8.711 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.9476/0.9476, allocations: 177.2 MB / 205.4 MB, free: 4.484 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.949/1.949, allocations: 389.6 MB / 0.6361 GB, free: 13.38 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.462e-06/1.462e-06, allocations: 0 / 0.776 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.954e-05, allocations: 2.312 kB / 0.776 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001382/0.001401, allocations: 0.7989 MB / 0.7767 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.002753, allocations: 1.221 MB / 0.7779 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.002801, allocations: 0 / 0.7779 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.002832, allocations: 7.875 kB / 0.7779 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.436e-05/0.002907, allocations: 15.91 kB / 0.778 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.003255, allocations: 135.6 kB / 0.7781 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.003391, allocations: 131.7 kB / 0.7782 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.003471, allocations: 16.11 kB / 0.7782 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.003563, allocations: 71.94 kB / 0.7783 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.003634, allocations: 43.86 kB / 0.7783 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.003653, allocations: 8 kB / 0.7784 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.003721, allocations: 27.98 kB / 0.7784 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.00374, allocations: 11.94 kB / 0.7784 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.003779, allocations: 39.95 kB / 0.7784 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.003908, allocations: 107.7 kB / 0.7785 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.00391, allocations: 0 / 0.7785 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003911, allocations: 4 kB / 0.7785 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003914, allocations: 0 / 0.7785 GB, free: 11.31 MB / 0.7448 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.0003486/0.004263, allocations: 306.4 kB / 0.7788 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.004293, allocations: 12.03 kB / 0.7788 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.004378, allocations: 20.86 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.284e-05/0.004461, allocations: 121.6 kB / 0.779 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.004473, allocations: 4.375 kB / 0.779 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.004486, allocations: 8.375 kB / 0.779 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.004587, allocations: 78.86 kB / 0.7791 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.004594, allocations: 192 / 0.7791 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.004602, allocations: 8.375 kB / 0.7791 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.004608, allocations: 4.125 kB / 0.7791 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.004632, allocations: 12 kB / 0.7791 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.004889, allocations: 184.2 kB / 0.7793 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.846e-05/0.004948, allocations: 38.56 kB / 0.7793 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.004961, allocations: 8.859 kB / 0.7793 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.004976, allocations: 0 / 0.7793 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.121e-05/0.005057, allocations: 71.3 kB / 0.7794 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.994e-06/0.005059, allocations: 4.094 kB / 0.7794 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001209/0.00518, allocations: 77.72 kB / 0.7795 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.005206, allocations: 55.41 kB / 0.7795 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.754e-05/0.005264, allocations: 122.6 kB / 0.7796 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.005279, allocations: 33.7 kB / 0.7797 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.005314, allocations: 92.11 kB / 0.7797 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.00533, allocations: 23.78 kB / 0.7798 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.005373, allocations: 33.7 kB / 0.7798 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.005443, allocations: 322.8 kB / 0.7801 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.532e-05/0.005488, allocations: 53.69 kB / 0.7802 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.884e-05/0.005547, allocations: 99.19 kB / 0.7802 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.188e-05/0.005629, allocations: 110.8 kB / 0.7804 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005631, allocations: 0 / 0.7804 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001348/0.005766, allocations: 176.8 kB / 0.7805 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.005791, allocations: 37.7 kB / 0.7806 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.005797, allocations: 8.141 kB / 0.7806 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.005808, allocations: 4 kB / 0.7806 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.005874, allocations: 15.94 kB / 0.7806 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.005877, allocations: 0 / 0.7806 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.005951, allocations: 23.97 kB / 0.7806 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.005963, allocations: 8 kB / 0.7806 GB, free: 8.941 MB / 0.7448 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 5.842e-05/0.006021, allocations: 117.8 kB / 0.7807 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.006031, allocations: 11.94 kB / 0.7807 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.587e-05/0.006117, allocations: 70.05 kB / 0.7808 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.00612, allocations: 4 kB / 0.7808 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.006122, allocations: 0 / 0.7808 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.006125, allocations: 0 / 0.7808 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.006257, allocations: 219.1 kB / 0.781 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006258, allocations: 0 / 0.781 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.006286, allocations: 11.92 kB / 0.781 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.006288, allocations: 3.938 kB / 0.781 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.006292, allocations: 0 / 0.781 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.006294, allocations: 4.078 kB / 0.781 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.006296, allocations: 4.031 kB / 0.781 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.572e-05/0.006372, allocations: 163.5 kB / 0.7812 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.006382, allocations: 15.89 kB / 0.7812 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-06/0.00639, allocations: 0 / 0.7812 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.006423, allocations: 7.984 kB / 0.7812 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.006451, allocations: 7.984 kB / 0.7812 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.006456, allocations: 4 kB / 0.7812 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.409e-05/0.00647, allocations: 16.91 kB / 0.7812 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.00647, allocations: 0 / 0.7812 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001442/0.006614, allocations: 27.98 kB / 0.7813 GB, free: 8.203 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 9.315e-05/0.006707, allocations: 88.36 kB / 0.7814 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.00685, allocations: 157.3 kB / 0.7815 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.006852, allocations: 3.938 kB / 0.7815 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.00688, allocations: 20.86 kB / 0.7815 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.007014, allocations: 15.73 kB / 0.7815 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.007384, allocations: 200.9 kB / 0.7817 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.151e-05/0.007415, allocations: 59.34 kB / 0.7818 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.191e-05/0.007437, allocations: 7.781 kB / 0.7818 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.007506, allocations: 67.36 kB / 0.7819 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.007507, allocations: 0 / 0.7819 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of Templates: time 0.002944/0.01045, allocations: 1.631 MB / 0.7835 GB, free: 5.902 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.823906786739826]