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.001109/0.001109, 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.001012/0.001012, allocations: 165 kB / 24.16 MB, free: 332 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.9472/0.9472, allocations: 177.1 MB / 204.6 MB, free: 5.492 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 2.031/2.031, allocations: 389.6 MB / 0.6354 GB, free: 12.33 MB / 0.6042 GB " [Timeout remaining time 177] 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.074e-06/2.074e-06, allocations: 0 / 0.7751 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.516e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002541/0.002567, allocations: 0.6803 MB / 0.7758 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.003883, allocations: 1.112 MB / 0.7769 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.003937, allocations: 0 / 0.7769 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.003963, allocations: 4.688 kB / 0.7769 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.004034, allocations: 11.2 kB / 0.7769 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.004313, allocations: 48.42 kB / 0.7769 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.004401, allocations: 44.83 kB / 0.777 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.323e-05/0.004475, allocations: 15.97 kB / 0.777 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.00455, allocations: 23.59 kB / 0.777 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.00459, allocations: 21.39 kB / 0.777 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.004603, allocations: 4 kB / 0.777 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.482e-05/0.004658, allocations: 19.98 kB / 0.7771 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.004678, allocations: 18.8 kB / 0.7771 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.004698, allocations: 11.98 kB / 0.7771 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.004799, allocations: 55.75 kB / 0.7771 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004801, allocations: 0 / 0.7771 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004802, allocations: 0 / 0.7771 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.004805, allocations: 0 / 0.7771 GB, free: 3.273 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.0003366/0.005142, allocations: 263.3 kB / 0.7774 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.005172, allocations: 9.344 kB / 0.7774 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.005246, allocations: 4.938 kB / 0.7774 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.617e-05/0.005322, allocations: 117.7 kB / 0.7775 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.005333, allocations: 8.359 kB / 0.7775 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.005343, allocations: 5.719 kB / 0.7775 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.742e-05/0.005441, allocations: 62.88 kB / 0.7776 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.005447, allocations: 192 / 0.7776 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.005454, allocations: 384 / 0.7776 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.005459, allocations: 5.125 kB / 0.7776 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/0.00548, allocations: 7.938 kB / 0.7776 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.005693, allocations: 162.8 kB / 0.7778 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.005754, allocations: 42.48 kB / 0.7778 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/0.005768, allocations: 8.859 kB / 0.7778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.005781, allocations: 0 / 0.7778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.005839, allocations: 55.52 kB / 0.7779 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.00584, allocations: 2.75 kB / 0.7779 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001087/0.005948, allocations: 61.56 kB / 0.7779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.005984, allocations: 51.41 kB / 0.778 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.006047, allocations: 114.7 kB / 0.7781 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.006059, allocations: 29.7 kB / 0.7781 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.006088, allocations: 88.08 kB / 0.7782 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.006103, allocations: 15.89 kB / 0.7782 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.006132, allocations: 28.3 kB / 0.7782 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.0062, allocations: 314.8 kB / 0.7785 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.006211, allocations: 4 kB / 0.7785 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.446e-05/0.006236, allocations: 31.42 kB / 0.7786 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/0.006278, allocations: 47.97 kB / 0.7786 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00628, allocations: 0.5 kB / 0.7786 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.398e-05/0.006344, allocations: 59.09 kB / 0.7787 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.006356, allocations: 10.03 kB / 0.7787 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006361, allocations: 8.547 kB / 0.7787 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.006372, allocations: 3.938 kB / 0.7787 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.869e-05/0.006431, allocations: 12.91 kB / 0.7787 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.006436, allocations: 4.156 kB / 0.7787 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.006463, allocations: 13.36 kB / 0.7787 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.00647, allocations: 0 / 0.7787 GB, free: 1.488 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.47e-05/0.006525, allocations: 113.8 kB / 0.7788 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.006533, allocations: 4.656 kB / 0.7788 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.006598, allocations: 58.05 kB / 0.7789 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.006601, allocations: 5.656 kB / 0.7789 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.006602, allocations: 0 / 0.7789 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006605, allocations: 4 kB / 0.7789 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.006748, allocations: 202.8 kB / 0.7791 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.006749, allocations: 4 kB / 0.7791 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.006769, allocations: 8.797 kB / 0.7791 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.00677, allocations: 0 / 0.7791 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.006775, allocations: 4.438 kB / 0.7791 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.006777, allocations: 5.609 kB / 0.7791 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006778, allocations: 0 / 0.7791 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.074e-05/0.006849, allocations: 151.5 kB / 0.7793 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.006855, allocations: 3.953 kB / 0.7793 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/0.006863, allocations: 8.812 kB / 0.7793 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.348e-05/0.006907, allocations: 4 kB / 0.7793 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.006929, allocations: 4.984 kB / 0.7793 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.006938, allocations: 11.94 kB / 0.7793 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.195e-05/0.00695, allocations: 16.98 kB / 0.7793 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00695, allocations: 1.75 kB / 0.7793 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001275/0.007078, allocations: 11.98 kB / 0.7793 GB, free: 0.8281 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 0.0001088/0.007186, allocations: 84.36 kB / 0.7794 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.204e-05/0.007248, allocations: 33.91 kB / 0.7794 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.00725, allocations: 0 / 0.7794 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.007277, allocations: 25.48 kB / 0.7795 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.007402, allocations: 9.266 kB / 0.7795 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.007744, allocations: 141.1 kB / 0.7796 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.23e-05/0.007777, allocations: 59.88 kB / 0.7797 GB, free: 432 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.007795, allocations: 5.469 kB / 0.7797 GB, free: 428 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.007838, allocations: 55.38 kB / 0.7797 GB, free: 372 kB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/0.007838, allocations: 3.938 kB / 0.7797 GB, free: 368 kB / 0.7292 GB Notification: Performance of Templates: time 0.002624/0.01046, allocations: 0.8582 MB / 0.7806 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.986536405980587]