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.0009701/0.0009701, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001037/0.001037, allocations: 161 kB / 24.17 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.978/0.978, allocations: 177.2 MB / 204.6 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.989/1.989, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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 1.333e-06/1.333e-06, allocations: 0 / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.388e-05, allocations: 5.875 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001234/0.001248, allocations: 0.7341 MB / 0.7759 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.002258, allocations: 1.119 MB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.002288, allocations: 0 / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.051e-05/0.002309, allocations: 3.938 kB / 0.777 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.002365, allocations: 11.27 kB / 0.777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.002557, allocations: 48.36 kB / 0.7771 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.56e-05/0.002632, allocations: 52.61 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.00269, allocations: 11.36 kB / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.891e-05/0.002759, allocations: 33.94 kB / 0.7771 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.739e-05/0.002796, allocations: 19.91 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.002808, allocations: 4 kB / 0.7772 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.189e-05/0.00287, allocations: 19.98 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.002885, allocations: 8 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.002906, allocations: 19.91 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.003009, allocations: 55.75 kB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.003018, allocations: 4 kB / 0.7773 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003019, allocations: 3.75 kB / 0.7773 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.003024, allocations: 3.984 kB / 0.7773 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002984/0.003323, allocations: 260.8 kB / 0.7775 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.003353, allocations: 9.344 kB / 0.7775 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.003425, allocations: 12.86 kB / 0.7775 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.197e-05/0.003487, allocations: 109.8 kB / 0.7777 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.003496, allocations: 4.375 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.003504, allocations: 8.375 kB / 0.7777 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.498e-05/0.003589, allocations: 73.86 kB / 0.7777 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.003595, allocations: 192 / 0.7777 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.003602, allocations: 4.375 kB / 0.7777 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.003605, allocations: 384 / 0.7777 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.448e-05/0.00363, allocations: 11.94 kB / 0.7778 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.003838, allocations: 156.3 kB / 0.7779 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.373e-05/0.003892, allocations: 39.39 kB / 0.7779 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.003907, allocations: 12.84 kB / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.003919, allocations: 5.156 kB / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/0.00398, allocations: 55.52 kB / 0.778 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.003981, allocations: 0 / 0.778 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 9.637e-05/0.004077, allocations: 54.86 kB / 0.7781 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.004109, allocations: 63.33 kB / 0.7781 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.663e-05/0.004155, allocations: 106.7 kB / 0.7782 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.004166, allocations: 30.3 kB / 0.7783 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.004198, allocations: 96.53 kB / 0.7783 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.004214, allocations: 11.91 kB / 0.7784 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.004247, allocations: 30.62 kB / 0.7784 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.004316, allocations: 310.8 kB / 0.7787 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.004328, allocations: 8.875 kB / 0.7787 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.004358, allocations: 44.2 kB / 0.7787 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.004412, allocations: 65.92 kB / 0.7788 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004414, allocations: 0 / 0.7788 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.311e-05/0.004487, allocations: 70.84 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.004497, allocations: 9.781 kB / 0.7789 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.004501, allocations: 0 / 0.7789 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.004511, allocations: 3.938 kB / 0.7789 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.004573, allocations: 23.92 kB / 0.7789 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.004578, allocations: 8.062 kB / 0.7789 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.004604, allocations: 8.641 kB / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.004611, allocations: 4 kB / 0.7789 GB, free: 1.418 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 5.811e-05/0.004669, allocations: 120.7 kB / 0.779 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.004677, allocations: 5.547 kB / 0.779 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.064e-05/0.004747, allocations: 58.06 kB / 0.7791 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.00475, allocations: 3.938 kB / 0.7791 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.004751, allocations: 0 / 0.7791 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.004756, allocations: 8.797 kB / 0.7791 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.004904, allocations: 202.8 kB / 0.7793 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004906, allocations: 0.875 kB / 0.7793 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.004933, allocations: 12 kB / 0.7793 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.004935, allocations: 4.75 kB / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.004942, allocations: 7.922 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.004944, allocations: 4.625 kB / 0.7793 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.004945, allocations: 1.25 kB / 0.7793 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.113e-05/0.005016, allocations: 143.5 kB / 0.7795 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-06/0.005024, allocations: 11.94 kB / 0.7795 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.005036, allocations: 3.938 kB / 0.7795 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.005077, allocations: 9.375 kB / 0.7795 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.005101, allocations: 7.984 kB / 0.7795 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.005108, allocations: 0 / 0.7795 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.939e-06/0.005118, allocations: 9.547 kB / 0.7795 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005118, allocations: 0 / 0.7795 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001325/0.005251, allocations: 21.05 kB / 0.7795 GB, free: 0.75 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 8.268e-05/0.005333, allocations: 88.8 kB / 0.7796 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.44e-05/0.005398, allocations: 37.7 kB / 0.7796 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.0054, allocations: 4 kB / 0.7797 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.005426, allocations: 21.75 kB / 0.7797 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.005545, allocations: 4.719 kB / 0.7797 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.005867, allocations: 158.1 kB / 0.7798 GB, free: 412 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.058e-05/0.005898, allocations: 60.38 kB / 0.7799 GB, free: 332 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.005919, allocations: 5.656 kB / 0.7799 GB, free: 328 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.005963, allocations: 63.36 kB / 0.78 GB, free: 264 kB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.005964, allocations: 3.938 kB / 0.78 GB, free: 260 kB / 0.7292 GB Notification: Performance of Templates: time 0.002274/0.008237, allocations: 0.903 MB / 0.7808 GB, free: 15.4 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.874422951601446]