Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.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.0009684/0.0009684, 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.0009667/0.0009667, allocations: 165 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 0.9919/0.9919, allocations: 177.2 MB / 204.6 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.961/1.961, allocations: 389.6 MB / 0.6354 GB, free: 12.26 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.272e-05, allocations: 3.281 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001211/0.001224, allocations: 0.7256 MB / 0.7759 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002236, allocations: 1.114 MB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.002272, allocations: 4 kB / 0.777 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.002297, allocations: 3.938 kB / 0.777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.002361, allocations: 2.844 kB / 0.777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.002626, allocations: 51.7 kB / 0.777 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.002728, allocations: 44.06 kB / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.591e-05/0.002794, allocations: 8.766 kB / 0.7771 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.002872, allocations: 33.38 kB / 0.7771 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.002911, allocations: 16.69 kB / 0.7771 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.002923, allocations: 5.156 kB / 0.7771 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.445e-05/0.002988, allocations: 23.98 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.003004, allocations: 7.984 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.003022, allocations: 16.92 kB / 0.7772 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.469e-05/0.003117, allocations: 51.81 kB / 0.7772 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003119, allocations: 0 / 0.7772 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.01e-07/0.003119, allocations: 0.5938 kB / 0.7772 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003122, allocations: 0 / 0.7772 GB, free: 3.281 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003111/0.003433, allocations: 267 kB / 0.7775 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.003462, allocations: 9.344 kB / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.003531, allocations: 8.922 kB / 0.7775 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.851e-05/0.0036, allocations: 113.7 kB / 0.7776 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.003608, allocations: 1.188 kB / 0.7776 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.003615, allocations: 8.375 kB / 0.7776 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.074e-05/0.003706, allocations: 67.31 kB / 0.7777 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.003713, allocations: 1.375 kB / 0.7777 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.003719, allocations: 384 / 0.7777 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.003723, allocations: 384 / 0.7777 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.003755, allocations: 25.12 kB / 0.7777 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.003968, allocations: 148.3 kB / 0.7779 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.683e-05/0.004025, allocations: 43.5 kB / 0.7779 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.004039, allocations: 8.859 kB / 0.7779 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.004051, allocations: 0.875 kB / 0.7779 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.004108, allocations: 55.52 kB / 0.778 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.004109, allocations: 0.6875 kB / 0.778 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 9.405e-05/0.004203, allocations: 53.62 kB / 0.778 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.004237, allocations: 65.08 kB / 0.7781 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.816e-05/0.004285, allocations: 107 kB / 0.7782 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.004295, allocations: 33.7 kB / 0.7782 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.004322, allocations: 88.08 kB / 0.7783 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.004339, allocations: 15.89 kB / 0.7783 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.004367, allocations: 18.75 kB / 0.7783 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.492e-05/0.004432, allocations: 322.8 kB / 0.7786 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.004442, allocations: 4 kB / 0.7786 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.004704, allocations: 39.95 kB / 0.7787 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.004748, allocations: 51.12 kB / 0.7787 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.004749, allocations: 0 / 0.7787 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.462e-05/0.004814, allocations: 61.61 kB / 0.7788 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.004825, allocations: 4 kB / 0.7788 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.004829, allocations: 4 kB / 0.7788 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.00484, allocations: 3.938 kB / 0.7788 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.004895, allocations: 18.7 kB / 0.7788 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.004899, allocations: 4 kB / 0.7788 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.274e-05/0.004922, allocations: 7.938 kB / 0.7788 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.004928, allocations: 4 kB / 0.7788 GB, free: 1.484 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 4.737e-05/0.004976, allocations: 109.8 kB / 0.7789 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-06/0.004983, allocations: 7.984 kB / 0.7789 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.312e-05/0.005047, allocations: 54.06 kB / 0.779 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.005049, allocations: 5.094 kB / 0.779 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.005051, allocations: 0 / 0.779 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.005054, allocations: 7.922 kB / 0.779 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.005185, allocations: 200.4 kB / 0.7792 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005186, allocations: 0 / 0.7792 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.005211, allocations: 11.94 kB / 0.7792 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.005212, allocations: 0 / 0.7792 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.005217, allocations: 5.156 kB / 0.7792 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005218, allocations: 0 / 0.7792 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005219, allocations: 0 / 0.7792 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.759e-05/0.005286, allocations: 156.7 kB / 0.7794 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.005293, allocations: 7.953 kB / 0.7794 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.005303, allocations: 9 kB / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.07e-05/0.005344, allocations: 7.984 kB / 0.7794 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.005366, allocations: 4 kB / 0.7794 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.005375, allocations: 8.516 kB / 0.7794 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.008e-05/0.005385, allocations: 9.797 kB / 0.7794 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005385, allocations: 0 / 0.7794 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001281/0.005513, allocations: 8 kB / 0.7794 GB, free: 0.8359 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.405e-05/0.005597, allocations: 93.66 kB / 0.7795 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.705e-05/0.005664, allocations: 30.34 kB / 0.7795 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.005666, allocations: 3.938 kB / 0.7795 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.556e-05/0.005692, allocations: 16.86 kB / 0.7796 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.005812, allocations: 8.594 kB / 0.7796 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.006119, allocations: 145.7 kB / 0.7797 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.693e-05/0.006146, allocations: 60.22 kB / 0.7798 GB, free: 436 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.006167, allocations: 4.875 kB / 0.7798 GB, free: 432 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.006209, allocations: 59.36 kB / 0.7798 GB, free: 372 kB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.00621, allocations: 0 / 0.7798 GB, free: 372 kB / 0.7292 GB Notification: Performance of Templates: time 0.002154/0.008364, allocations: 0.8658 MB / 0.7807 GB, free: 15.55 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.901769001968205]