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.001531/0.001531, allocations: 81.41 kB / 20.82 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.001943/0.001943, 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.9725/0.9725, allocations: 177.2 MB / 204.7 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.948/1.948, allocations: 389.6 MB / 0.6355 GB, free: 12.25 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.863e-06/1.863e-06, allocations: 0 / 0.7754 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.177e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.00147/0.001491, allocations: 0.7378 MB / 0.7761 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.002647, allocations: 1.131 MB / 0.7772 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.002704, allocations: 4.719 kB / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.00274, allocations: 4.922 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.00281, allocations: 3.016 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.003086, allocations: 60.56 kB / 0.7773 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.003187, allocations: 69.72 kB / 0.7773 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.011e-05/0.003257, allocations: 9.703 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.003336, allocations: 38.7 kB / 0.7774 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.003392, allocations: 29.8 kB / 0.7774 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.00341, allocations: 8 kB / 0.7774 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.003485, allocations: 20.77 kB / 0.7774 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.003504, allocations: 21.38 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.003528, allocations: 19.97 kB / 0.7775 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.003643, allocations: 64.23 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003645, allocations: 4.594 kB / 0.7775 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003646, allocations: 0 / 0.7775 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003649, allocations: 3.188 kB / 0.7775 GB, free: 3.066 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.0003595/0.004008, allocations: 280.8 kB / 0.7778 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.004042, allocations: 9.344 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.004121, allocations: 16.88 kB / 0.7778 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.468e-05/0.004195, allocations: 109.7 kB / 0.7779 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.004211, allocations: 4.375 kB / 0.7779 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.004224, allocations: 11.12 kB / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.00433, allocations: 78.84 kB / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.004338, allocations: 192 / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.004345, allocations: 384 / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.00435, allocations: 4.375 kB / 0.778 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.004377, allocations: 11.94 kB / 0.778 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.004631, allocations: 185.9 kB / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/0.004701, allocations: 50.48 kB / 0.7783 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.00472, allocations: 12.86 kB / 0.7783 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.004735, allocations: 4 kB / 0.7783 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.058e-05/0.004805, allocations: 72.19 kB / 0.7783 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.004807, allocations: 0.625 kB / 0.7783 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001248/0.004932, allocations: 77.59 kB / 0.7784 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.004971, allocations: 65.22 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.42e-05/0.005025, allocations: 110.9 kB / 0.7786 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.005044, allocations: 33.7 kB / 0.7786 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.005073, allocations: 84.36 kB / 0.7787 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.005095, allocations: 35.72 kB / 0.7787 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.005131, allocations: 30.42 kB / 0.7788 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.005199, allocations: 318.8 kB / 0.7791 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.005219, allocations: 16.73 kB / 0.7791 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.005246, allocations: 30.64 kB / 0.7791 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.274e-05/0.005309, allocations: 63.58 kB / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005311, allocations: 0.8125 kB / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.536e-05/0.005396, allocations: 82.12 kB / 0.7793 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.005407, allocations: 4 kB / 0.7793 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005412, allocations: 0.9375 kB / 0.7793 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.005421, allocations: 7.938 kB / 0.7793 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.005501, allocations: 28.48 kB / 0.7793 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.005504, allocations: 4.812 kB / 0.7793 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.005529, allocations: 4 kB / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.005536, allocations: 5.438 kB / 0.7793 GB, free: 1.082 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.426e-05/0.0056, allocations: 122.6 kB / 0.7794 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.005611, allocations: 8 kB / 0.7794 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.998e-05/0.005701, allocations: 78.67 kB / 0.7795 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.005705, allocations: 3.938 kB / 0.7795 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005706, allocations: 0.9062 kB / 0.7795 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.005709, allocations: 0 / 0.7795 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.005876, allocations: 226.7 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.005877, allocations: 0.8125 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.005907, allocations: 4 kB / 0.7797 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005908, allocations: 4.875 kB / 0.7797 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.005917, allocations: 11.92 kB / 0.7797 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.005919, allocations: 0.9375 kB / 0.7797 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005919, allocations: 3.938 kB / 0.7797 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.651e-05/0.006006, allocations: 160.4 kB / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.006011, allocations: 0 / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.006025, allocations: 7.938 kB / 0.7799 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-05/0.006068, allocations: 13.02 kB / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.006095, allocations: 3.984 kB / 0.7799 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.006099, allocations: 4.844 kB / 0.7799 GB, free: 404 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.389e-05/0.006113, allocations: 16.84 kB / 0.7799 GB, free: 384 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006113, allocations: 0.9375 kB / 0.7799 GB, free: 384 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001427/0.006256, allocations: 23.98 kB / 0.78 GB, free: 360 kB / 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001025/0.006358, allocations: 93.02 kB / 0.7801 GB, free: 256 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.993e-05/0.006448, allocations: 54.67 kB / 0.7801 GB, free: 200 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.006451, allocations: 0 / 0.7801 GB, free: 200 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-05/0.00648, allocations: 20.86 kB / 0.7801 GB, free: 176 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.006612, allocations: 15.97 kB / 0.7801 GB, free: 164 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.006982, allocations: 175 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.007015, allocations: 55.36 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.007042, allocations: 14.23 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.00709, allocations: 55.38 kB / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of SimCode: time 7.02e-07/0.007091, allocations: 0 / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.002608/0.009699, allocations: 1.131 MB / 0.7815 GB, free: 14.76 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: 5.031406154856086]