Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001914/0.001914, allocations: 85.41 kB / 20.83 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.001789/0.001789, allocations: 169 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.9248/0.9248, allocations: 177.1 MB / 204.7 MB, free: 5.461 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.955/1.955, 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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 4 kB / 0.7753 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.81e-05, allocations: 2.844 kB / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001589/0.001617, allocations: 0.7213 MB / 0.7761 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.002821, allocations: 1.126 MB / 0.7772 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.002878, allocations: 4 kB / 0.7772 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.002917, allocations: 3.938 kB / 0.7772 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.002997, allocations: 7.938 kB / 0.7772 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.0033, allocations: 48.75 kB / 0.7772 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.003415, allocations: 57.59 kB / 0.7773 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.309e-05/0.003498, allocations: 4 kB / 0.7773 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.501e-05/0.003593, allocations: 34.53 kB / 0.7773 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.003645, allocations: 17.77 kB / 0.7773 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.003662, allocations: 4.688 kB / 0.7773 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.003744, allocations: 24.53 kB / 0.7774 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.003761, allocations: 14.08 kB / 0.7774 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.003788, allocations: 15.98 kB / 0.7774 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.003909, allocations: 55.8 kB / 0.7774 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.003912, allocations: 0 / 0.7774 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.273e-06/0.003913, allocations: 0.8125 kB / 0.7774 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003916, allocations: 0 / 0.7774 GB, free: 3.207 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003748/0.004291, allocations: 266.5 kB / 0.7777 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.00433, allocations: 13.34 kB / 0.7777 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/0.004409, allocations: 4.938 kB / 0.7777 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.927e-05/0.004498, allocations: 122.8 kB / 0.7778 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.004507, allocations: 384 / 0.7778 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.004519, allocations: 4.375 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.945e-05/0.004619, allocations: 63.88 kB / 0.7779 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.004626, allocations: 192 / 0.7779 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.004633, allocations: 384 / 0.7779 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.004638, allocations: 1.25 kB / 0.7779 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.004665, allocations: 15.92 kB / 0.7779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.004908, allocations: 161.7 kB / 0.7781 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.513e-05/0.004973, allocations: 34.56 kB / 0.7781 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.004989, allocations: 13.53 kB / 0.7781 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.005004, allocations: 0 / 0.7781 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.036e-05/0.005074, allocations: 60.05 kB / 0.7782 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.005075, allocations: 0 / 0.7782 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001158/0.005191, allocations: 71.42 kB / 0.7782 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.00523, allocations: 51.41 kB / 0.7783 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.701e-05/0.005287, allocations: 110.7 kB / 0.7784 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.005297, allocations: 29.64 kB / 0.7784 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.00533, allocations: 97.11 kB / 0.7785 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.005347, allocations: 15.84 kB / 0.7785 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.00538, allocations: 25.69 kB / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.005449, allocations: 315.4 kB / 0.7788 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.005464, allocations: 7.984 kB / 0.7789 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.005495, allocations: 47.94 kB / 0.7789 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.493e-05/0.00555, allocations: 60.2 kB / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005552, allocations: 256 / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.815e-05/0.00563, allocations: 69.59 kB / 0.779 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.005642, allocations: 10.72 kB / 0.779 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.005647, allocations: 4 kB / 0.779 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.005661, allocations: 7.938 kB / 0.779 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.005733, allocations: 15.98 kB / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.005736, allocations: 0 / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.005764, allocations: 8 kB / 0.7791 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.005772, allocations: 4 kB / 0.7791 GB, free: 1.355 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.917e-05/0.005841, allocations: 126.9 kB / 0.7792 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.005849, allocations: 4 kB / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.71e-05/0.005936, allocations: 62.06 kB / 0.7793 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.00594, allocations: 5.188 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.005942, allocations: 0 / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.005945, allocations: 0 / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.006121, allocations: 203.7 kB / 0.7795 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006123, allocations: 4 kB / 0.7795 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.006161, allocations: 8.859 kB / 0.7795 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.006164, allocations: 0 / 0.7795 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.006173, allocations: 11.94 kB / 0.7795 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.006174, allocations: 0.5625 kB / 0.7795 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.006176, allocations: 1.594 kB / 0.7795 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.791e-05/0.006264, allocations: 147.5 kB / 0.7796 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.006272, allocations: 3.938 kB / 0.7796 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.006289, allocations: 11.88 kB / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.53e-05/0.006334, allocations: 17.14 kB / 0.7797 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.006361, allocations: 0 / 0.7797 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.006372, allocations: 4 kB / 0.7797 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.451e-05/0.006386, allocations: 13.62 kB / 0.7797 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006387, allocations: 0 / 0.7797 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001468/0.006533, allocations: 19.95 kB / 0.7797 GB, free: 0.6758 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 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001304/0.006664, allocations: 81.47 kB / 0.7798 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.006746, allocations: 42.23 kB / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.006748, allocations: 0 / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.462e-05/0.006773, allocations: 12.86 kB / 0.7798 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.006916, allocations: 21.3 kB / 0.7798 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.007296, allocations: 153.1 kB / 0.78 GB, free: 340 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.007331, allocations: 62.7 kB / 0.78 GB, free: 260 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.007357, allocations: 4.922 kB / 0.78 GB, free: 256 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.007406, allocations: 63.38 kB / 0.7801 GB, free: 192 kB / 0.7292 GB Notification: Performance of SimCode: time 6.52e-07/0.007407, allocations: 0.9375 kB / 0.7801 GB, free: 192 kB / 0.7292 GB Notification: Performance of Templates: time 0.002602/0.01001, allocations: 0.9094 MB / 0.781 GB, free: 15.33 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.86486563552171]