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.0009053/0.0009053, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001196/0.001196, allocations: 165.4 kB / 25.05 MB, free: 9.234 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 1.021/1.021, allocations: 177.1 MB / 205.5 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.943/1.943, allocations: 389.6 MB / 0.6363 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 2.475e-06/2.475e-06, allocations: 0 / 0.7761 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.087e-05, allocations: 4.062 kB / 0.7761 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001661/0.001691, allocations: 0.7235 MB / 0.7768 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.002828, allocations: 1.118 MB / 0.7779 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.002879, allocations: 2.984 kB / 0.7779 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.00292, allocations: 0 / 0.7779 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.002997, allocations: 10.33 kB / 0.7779 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.003252, allocations: 44.53 kB / 0.778 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.19e-05/0.003344, allocations: 48.52 kB / 0.778 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.003421, allocations: 7.984 kB / 0.778 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.003499, allocations: 30.03 kB / 0.7781 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.003545, allocations: 17.5 kB / 0.7781 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.003562, allocations: 5.188 kB / 0.7781 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-05/0.003642, allocations: 20.92 kB / 0.7781 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.003664, allocations: 17.39 kB / 0.7781 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.003689, allocations: 19.39 kB / 0.7781 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.00382, allocations: 47.88 kB / 0.7782 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003822, allocations: 0 / 0.7782 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.442e-06/0.003824, allocations: 0 / 0.7782 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.003829, allocations: 0 / 0.7782 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.0004093/0.004238, allocations: 260.8 kB / 0.7784 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.004276, allocations: 17.09 kB / 0.7784 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.327e-05/0.004369, allocations: 12.94 kB / 0.7785 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.93e-05/0.004458, allocations: 109.7 kB / 0.7786 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.004469, allocations: 8.312 kB / 0.7786 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.004481, allocations: 4.375 kB / 0.7786 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.004586, allocations: 58.94 kB / 0.7786 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.004595, allocations: 192 / 0.7786 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.004603, allocations: 4.375 kB / 0.7786 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.00461, allocations: 384 / 0.7786 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.676e-05/0.004636, allocations: 7.938 kB / 0.7786 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.00491, allocations: 168.8 kB / 0.7788 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.055e-05/0.004981, allocations: 32.09 kB / 0.7788 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.004995, allocations: 9.062 kB / 0.7788 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.005013, allocations: 8 kB / 0.7788 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/0.005079, allocations: 60.62 kB / 0.7789 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.00508, allocations: 0 / 0.7789 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001213/0.005202, allocations: 57.62 kB / 0.779 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.005246, allocations: 52.22 kB / 0.779 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.00531, allocations: 110.7 kB / 0.7791 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.005322, allocations: 27.11 kB / 0.7791 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.005353, allocations: 84.09 kB / 0.7792 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.005372, allocations: 23.88 kB / 0.7792 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.005401, allocations: 21.72 kB / 0.7793 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.261e-05/0.005484, allocations: 319.3 kB / 0.7796 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.005497, allocations: 4.844 kB / 0.7796 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.005523, allocations: 31.38 kB / 0.7796 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.005575, allocations: 53.09 kB / 0.7797 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005577, allocations: 0 / 0.7797 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.921e-05/0.005646, allocations: 63.16 kB / 0.7797 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.00566, allocations: 11.98 kB / 0.7797 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.005664, allocations: 0 / 0.7797 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.005674, allocations: 5.094 kB / 0.7797 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.00574, allocations: 12 kB / 0.7797 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.005744, allocations: 1.094 kB / 0.7797 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.005768, allocations: 7.984 kB / 0.7798 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.005776, allocations: 4 kB / 0.7798 GB, free: 1.457 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 5.791e-05/0.005834, allocations: 122.3 kB / 0.7799 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-06/0.005841, allocations: 4 kB / 0.7799 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.005917, allocations: 54.11 kB / 0.7799 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.00592, allocations: 12.59 kB / 0.7799 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005922, allocations: 1.344 kB / 0.7799 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005925, allocations: 0 / 0.7799 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.006089, allocations: 206.7 kB / 0.7801 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.00609, allocations: 0 / 0.7801 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.006117, allocations: 9.109 kB / 0.7801 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.006118, allocations: 0 / 0.7801 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.006128, allocations: 7.938 kB / 0.7802 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.006128, allocations: 1.062 kB / 0.7802 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.00613, allocations: 0 / 0.7802 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.656e-05/0.006206, allocations: 143.5 kB / 0.7803 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.006214, allocations: 8.453 kB / 0.7803 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-06/0.006223, allocations: 8.625 kB / 0.7803 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.006261, allocations: 4 kB / 0.7803 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.006293, allocations: 9.453 kB / 0.7803 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.006302, allocations: 0 / 0.7803 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.672e-05/0.006318, allocations: 21.02 kB / 0.7803 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006318, allocations: 0 / 0.7803 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001366/0.006455, allocations: 16.53 kB / 0.7804 GB, free: 0.7969 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.901e-05/0.006554, allocations: 77.55 kB / 0.7804 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.919e-05/0.006643, allocations: 41.69 kB / 0.7805 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.006646, allocations: 0 / 0.7805 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/0.006678, allocations: 21.66 kB / 0.7805 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.0001403/0.006818, allocations: 5.562 kB / 0.7805 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.00717, allocations: 153.6 kB / 0.7806 GB, free: 476 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.183e-05/0.007202, allocations: 60.5 kB / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.86e-05/0.007221, allocations: 0 / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.007262, allocations: 60.69 kB / 0.7808 GB, free: 336 kB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/0.007263, allocations: 0 / 0.7808 GB, free: 336 kB / 0.7292 GB Notification: Performance of Templates: time 0.002326/0.009589, allocations: 0.8621 MB / 0.7816 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: 4.900651187635958]