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.0009635/0.0009635, allocations: 80.75 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.0009539/0.0009539, 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.9648/0.9648, allocations: 177.1 MB / 204.7 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.98/1.98, allocations: 389.6 MB / 0.6355 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.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.893e-06/1.893e-06, allocations: 0 / 0.7753 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.158e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001442/0.001463, allocations: 0.7229 MB / 0.7761 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.002549, allocations: 1.115 MB / 0.7771 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.002594, allocations: 0 / 0.7771 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.002626, allocations: 5.781 kB / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.074e-05/0.002686, allocations: 9.891 kB / 0.7772 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.002934, allocations: 46.17 kB / 0.7772 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.42e-05/0.003018, allocations: 52.12 kB / 0.7773 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.499e-05/0.003083, allocations: 7.984 kB / 0.7773 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.00315, allocations: 27.11 kB / 0.7773 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.003191, allocations: 21.83 kB / 0.7773 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.003205, allocations: 4 kB / 0.7773 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.003278, allocations: 16.55 kB / 0.7773 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.0033, allocations: 13.39 kB / 0.7773 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.003323, allocations: 18 kB / 0.7774 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.003431, allocations: 47.81 kB / 0.7774 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003433, allocations: 4.5 kB / 0.7774 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.51e-07/0.003434, allocations: 0.75 kB / 0.7774 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003438, allocations: 0 / 0.7774 GB, free: 3.242 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.0003595/0.003798, allocations: 263.5 kB / 0.7777 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.003835, allocations: 9.344 kB / 0.7777 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.003921, allocations: 4.938 kB / 0.7777 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.049e-05/0.004011, allocations: 125.6 kB / 0.7778 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.004023, allocations: 4.375 kB / 0.7778 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.004034, allocations: 384 / 0.7778 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.00414, allocations: 65.69 kB / 0.7779 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.004147, allocations: 4.125 kB / 0.7779 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.004155, allocations: 384 / 0.7779 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.004162, allocations: 4.375 kB / 0.7779 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.004186, allocations: 7.938 kB / 0.7779 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.004418, allocations: 164.2 kB / 0.778 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.00448, allocations: 37 kB / 0.7781 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.004495, allocations: 8.859 kB / 0.7781 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.004509, allocations: 0 / 0.7781 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.00457, allocations: 55.52 kB / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.004571, allocations: 4 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001035/0.004675, allocations: 54.44 kB / 0.7782 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.004715, allocations: 59.41 kB / 0.7782 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.004768, allocations: 110.7 kB / 0.7783 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.004778, allocations: 26.23 kB / 0.7784 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.004806, allocations: 84.88 kB / 0.7785 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.004824, allocations: 23.88 kB / 0.7785 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.004851, allocations: 15.47 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.004925, allocations: 322.8 kB / 0.7788 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.004937, allocations: 4 kB / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.004962, allocations: 35.42 kB / 0.7788 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/0.005011, allocations: 56.91 kB / 0.7789 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.005013, allocations: 0.5 kB / 0.7789 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.447e-05/0.005078, allocations: 59.22 kB / 0.7789 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.005091, allocations: 11.98 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.005095, allocations: 0 / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.005105, allocations: 4.75 kB / 0.779 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.005164, allocations: 16 kB / 0.779 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.005167, allocations: 0.8125 kB / 0.779 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.005193, allocations: 15.92 kB / 0.779 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.005199, allocations: 0.5 kB / 0.779 GB, free: 1.449 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 6.147e-05/0.005261, allocations: 114.4 kB / 0.7791 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.005269, allocations: 8 kB / 0.7791 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.053e-05/0.00534, allocations: 54.86 kB / 0.7792 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.005344, allocations: 7.938 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.005345, allocations: 1.438 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.005348, allocations: 0 / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.005498, allocations: 206.7 kB / 0.7794 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.005499, allocations: 0 / 0.7794 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.005525, allocations: 8.641 kB / 0.7794 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.005528, allocations: 1.406 kB / 0.7794 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.005535, allocations: 7.938 kB / 0.7794 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.005537, allocations: 4 kB / 0.7794 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005538, allocations: 0 / 0.7794 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.305e-05/0.005611, allocations: 144.4 kB / 0.7795 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.005624, allocations: 11.94 kB / 0.7795 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.005633, allocations: 3.938 kB / 0.7795 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.855e-05/0.005672, allocations: 8.562 kB / 0.7796 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.005694, allocations: 4.672 kB / 0.7796 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.005701, allocations: 4 kB / 0.7796 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.415e-05/0.005715, allocations: 18.28 kB / 0.7796 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005715, allocations: 0 / 0.7796 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001303/0.005845, allocations: 16 kB / 0.7796 GB, free: 0.7891 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 9.602e-05/0.005941, allocations: 82.02 kB / 0.7797 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.006016, allocations: 28.78 kB / 0.7797 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.006018, allocations: 5.656 kB / 0.7797 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.006046, allocations: 16.84 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.00617, allocations: 11.94 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.006521, allocations: 156.9 kB / 0.7799 GB, free: 468 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.006556, allocations: 59.34 kB / 0.7799 GB, free: 388 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.006583, allocations: 1.438 kB / 0.7799 GB, free: 388 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.006628, allocations: 55.38 kB / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.006629, allocations: 0 / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of Templates: time 0.002286/0.008914, allocations: 0.861 MB / 0.7808 GB, free: 15.52 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0537368496879935]