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.0009415/0.0009415, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009579/0.0009579, allocations: 165 kB / 24.25 MB, free: 208 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 0.9894/0.9894, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.959/1.959, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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.124e-06/2.124e-06, allocations: 0 / 0.7753 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.621e-05, allocations: 5.125 kB / 0.7754 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001728/0.001754, allocations: 0.803 MB / 0.7761 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003046, allocations: 1.206 MB / 0.7773 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.587e-05/0.003101, allocations: 4.656 kB / 0.7773 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.003138, allocations: 7.922 kB / 0.7773 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.397e-05/0.003222, allocations: 16.78 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.003623, allocations: 133.5 kB / 0.7775 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.00386, allocations: 128.6 kB / 0.7776 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.003945, allocations: 20.16 kB / 0.7776 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.004056, allocations: 71.86 kB / 0.7777 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.004129, allocations: 36.8 kB / 0.7777 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.004153, allocations: 12 kB / 0.7777 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.004231, allocations: 32.78 kB / 0.7778 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.004251, allocations: 15.92 kB / 0.7778 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.004289, allocations: 37.38 kB / 0.7778 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004427, allocations: 111.6 kB / 0.7779 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004429, allocations: 0 / 0.7779 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.51e-07/0.00443, allocations: 0 / 0.7779 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004434, allocations: 0.5312 kB / 0.7779 GB, free: 2.699 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.0003574/0.004791, allocations: 315.5 kB / 0.7782 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.004823, allocations: 9.344 kB / 0.7782 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.85e-05/0.004912, allocations: 16.92 kB / 0.7782 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.708e-05/0.004989, allocations: 115.4 kB / 0.7784 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005003, allocations: 12.31 kB / 0.7784 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.005019, allocations: 8.375 kB / 0.7784 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.00513, allocations: 78.8 kB / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.005138, allocations: 0.875 kB / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.005144, allocations: 384 / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.00515, allocations: 5.062 kB / 0.7785 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.453e-05/0.005174, allocations: 11.98 kB / 0.7785 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.005442, allocations: 203.2 kB / 0.7787 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.131e-05/0.005504, allocations: 26.58 kB / 0.7787 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.005519, allocations: 12.86 kB / 0.7787 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.005532, allocations: 3.984 kB / 0.7787 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.383e-05/0.005616, allocations: 79.45 kB / 0.7788 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.005618, allocations: 0 / 0.7788 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001224/0.00574, allocations: 69.56 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.005769, allocations: 51.41 kB / 0.7789 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.005831, allocations: 134.6 kB / 0.779 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.005848, allocations: 25.7 kB / 0.779 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.005882, allocations: 96.08 kB / 0.7791 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.005898, allocations: 19.84 kB / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.005946, allocations: 41.62 kB / 0.7792 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.11e-05/0.006017, allocations: 318.8 kB / 0.7795 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.006078, allocations: 57.69 kB / 0.7796 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.849e-05/0.006136, allocations: 86.83 kB / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.691e-05/0.006223, allocations: 117.1 kB / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.006225, allocations: 0 / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001459/0.006371, allocations: 182.8 kB / 0.7799 GB, free: 440 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.006396, allocations: 29.7 kB / 0.7799 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.006401, allocations: 4.078 kB / 0.78 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.006409, allocations: 4.875 kB / 0.78 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.00648, allocations: 19.92 kB / 0.78 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.006486, allocations: 9.359 kB / 0.78 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.006567, allocations: 31.91 kB / 0.78 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.00658, allocations: 8 kB / 0.78 GB, free: 328 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 6.554e-05/0.006646, allocations: 119 kB / 0.7801 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.00666, allocations: 20.95 kB / 0.7802 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.28e-05/0.006742, allocations: 62.11 kB / 0.7802 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006744, allocations: 0 / 0.7802 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006746, allocations: 0.5 kB / 0.7802 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006749, allocations: 0.7812 kB / 0.7802 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.006902, allocations: 222.7 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006904, allocations: 1.219 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.006936, allocations: 7.938 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006939, allocations: 4 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.006944, allocations: 0.625 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.006945, allocations: 0 / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.006947, allocations: 4.516 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.877e-05/0.007036, allocations: 151.5 kB / 0.7806 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.007044, allocations: 8.438 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.007054, allocations: 4.594 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.419e-05/0.007088, allocations: 5.219 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.007115, allocations: 7.984 kB / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.00712, allocations: 0 / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.812e-05/0.007138, allocations: 24.78 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007138, allocations: 0.7812 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001597/0.007298, allocations: 27.89 kB / 0.7807 GB, free: 15.61 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.000114/0.007412, allocations: 87.56 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.007571, allocations: 153.9 kB / 0.7809 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.007575, allocations: 4 kB / 0.7809 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.902e-05/0.007604, allocations: 20.84 kB / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.007751, allocations: 22.7 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.008149, allocations: 180.6 kB / 0.7811 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.796e-05/0.008187, allocations: 59.36 kB / 0.7812 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.008213, allocations: 9.297 kB / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.008295, allocations: 71.36 kB / 0.7812 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.008295, allocations: 0 / 0.7812 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of Templates: time 0.003465/0.01176, allocations: 1.644 MB / 0.7829 GB, free: 13.4 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.024237621575594]