Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.0009402/0.0009402, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.0009622/0.0009622, allocations: 168.7 kB / 24.97 MB, free: 8.656 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.044/1.044, allocations: 177.1 MB / 205.4 MB, free: 5.508 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.92/1.92, allocations: 389.6 MB / 0.6362 GB, free: 12.31 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7759 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.282e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001684/0.001697, allocations: 0.7359 MB / 0.7767 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.002971, allocations: 1.134 MB / 0.7778 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.003013, allocations: 4.656 kB / 0.7778 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.003036, allocations: 4.812 kB / 0.7778 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.003106, allocations: 7.234 kB / 0.7778 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.003337, allocations: 58.31 kB / 0.7778 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.955e-05/0.003437, allocations: 68.81 kB / 0.7779 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.579e-05/0.003502, allocations: 11.98 kB / 0.7779 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.00358, allocations: 37.7 kB / 0.778 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.003623, allocations: 29.08 kB / 0.778 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.003638, allocations: 9.312 kB / 0.778 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.022e-05/0.003708, allocations: 23.98 kB / 0.778 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.003726, allocations: 15.98 kB / 0.778 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.003753, allocations: 23.91 kB / 0.7781 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.00386, allocations: 68.95 kB / 0.7781 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003862, allocations: 0 / 0.7781 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003862, allocations: 0 / 0.7781 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003866, allocations: 0.5 kB / 0.7781 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003489/0.004215, allocations: 279.4 kB / 0.7784 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.004247, allocations: 9.344 kB / 0.7784 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.004331, allocations: 20.88 kB / 0.7784 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.696e-05/0.004398, allocations: 105.8 kB / 0.7785 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.004411, allocations: 384 / 0.7785 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.004422, allocations: 15.12 kB / 0.7785 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.004523, allocations: 74.84 kB / 0.7786 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.004529, allocations: 192 / 0.7786 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.004537, allocations: 8.312 kB / 0.7786 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.004541, allocations: 384 / 0.7786 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.965e-05/0.004571, allocations: 19.88 kB / 0.7786 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.004815, allocations: 187.8 kB / 0.7788 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.474e-05/0.00488, allocations: 42.55 kB / 0.7789 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.004903, allocations: 20.98 kB / 0.7789 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.00492, allocations: 4 kB / 0.7789 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.242e-05/0.004992, allocations: 63.31 kB / 0.7789 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 8.62e-07/0.004993, allocations: 0 / 0.7789 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001271/0.00512, allocations: 85.53 kB / 0.779 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.005149, allocations: 57 kB / 0.7791 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/0.005206, allocations: 114.7 kB / 0.7792 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.005221, allocations: 29.7 kB / 0.7792 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.005248, allocations: 84.38 kB / 0.7793 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.005276, allocations: 36.47 kB / 0.7793 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.005313, allocations: 33.7 kB / 0.7794 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.005379, allocations: 320.1 kB / 0.7797 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.005398, allocations: 11.98 kB / 0.7797 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/0.005424, allocations: 37.75 kB / 0.7797 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.222e-05/0.005476, allocations: 52.22 kB / 0.7798 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005478, allocations: 256 / 0.7798 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 7.821e-05/0.005556, allocations: 89.64 kB / 0.7798 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.005567, allocations: 5.281 kB / 0.7799 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005572, allocations: 4 kB / 0.7799 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.005584, allocations: 15.86 kB / 0.7799 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.005657, allocations: 20.64 kB / 0.7799 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.00566, allocations: 4 kB / 0.7799 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.005685, allocations: 9.125 kB / 0.7799 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.005692, allocations: 0 / 0.7799 GB, free: 1.223 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.155e-05/0.005754, allocations: 131.5 kB / 0.78 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.005762, allocations: 4 kB / 0.78 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.005877, allocations: 70.59 kB / 0.7801 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.005881, allocations: 4.719 kB / 0.7801 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005882, allocations: 0 / 0.7801 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.005889, allocations: 7.953 kB / 0.7801 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.005901, allocations: 0.625 kB / 0.7801 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.932e-05/0.00593, allocations: 12.89 kB / 0.7801 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.005958, allocations: 11.92 kB / 0.7801 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.71e-05/0.006035, allocations: 138 kB / 0.7803 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.845e-05/0.006133, allocations: 238.7 kB / 0.7805 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.321e-05/0.006167, allocations: 24.83 kB / 0.7805 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.141e-05/0.006178, allocations: 13.89 kB / 0.7805 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of Backend: time 1.2e-07/0.006178, allocations: 0 / 0.7805 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.006407, allocations: 109.1 kB / 0.7806 GB, free: 436 kB / 0.7292 GB Notification: Performance of SimCode: time 0.0004986/0.006906, allocations: 0.6563 MB / 0.7813 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of Templates: time 0.002659/0.009565, allocations: 1.344 MB / 0.7826 GB, free: 14.46 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.984398760832846]