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.0009332/0.0009332, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.001139/0.001139, allocations: 168.6 kB / 24.97 MB, free: 9.184 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 0.9813/0.9813, allocations: 177.1 MB / 205.4 MB, free: 5.477 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.967/1.967, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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.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 2.915e-06/2.915e-06, allocations: 0 / 0.776 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.572e-05, allocations: 2.844 kB / 0.776 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001864/0.00189, allocations: 0.7401 MB / 0.7767 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005638/0.007528, allocations: 1.118 MB / 0.7778 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.007579, allocations: 3.938 kB / 0.7778 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.007605, allocations: 0.5938 kB / 0.7778 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.007672, allocations: 11.86 kB / 0.7778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.007939, allocations: 52.47 kB / 0.7778 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.008031, allocations: 50.09 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.1e-05/0.008102, allocations: 11.98 kB / 0.7779 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.064e-05/0.008182, allocations: 26.39 kB / 0.7779 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.008227, allocations: 29.45 kB / 0.7779 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.00824, allocations: 4 kB / 0.778 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.631e-05/0.008317, allocations: 20.8 kB / 0.778 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.008333, allocations: 8 kB / 0.778 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.008355, allocations: 21.31 kB / 0.778 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.008467, allocations: 51.81 kB / 0.778 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.00847, allocations: 0 / 0.778 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.042e-06/0.008471, allocations: 0 / 0.778 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.008475, allocations: 0.5312 kB / 0.778 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.0003153/0.00879, allocations: 265.9 kB / 0.7783 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.008825, allocations: 9.344 kB / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.81e-05/0.008913, allocations: 14.58 kB / 0.7783 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.294e-05/0.008986, allocations: 117.7 kB / 0.7784 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.008994, allocations: 384 / 0.7784 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.009001, allocations: 4.375 kB / 0.7784 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.009107, allocations: 67.64 kB / 0.7785 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.009115, allocations: 4.172 kB / 0.7785 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.009122, allocations: 1.281 kB / 0.7785 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.009127, allocations: 4.375 kB / 0.7785 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.009152, allocations: 14.97 kB / 0.7785 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.009388, allocations: 164.3 kB / 0.7787 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.024e-05/0.009449, allocations: 30.64 kB / 0.7787 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.009465, allocations: 12.97 kB / 0.7787 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.009482, allocations: 4 kB / 0.7787 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/0.00955, allocations: 59.33 kB / 0.7788 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.009551, allocations: 0 / 0.7788 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001066/0.009658, allocations: 57.28 kB / 0.7788 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.009686, allocations: 51.41 kB / 0.7789 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.707e-05/0.009743, allocations: 114.7 kB / 0.779 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.009755, allocations: 29.7 kB / 0.779 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.009791, allocations: 92.02 kB / 0.7791 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.009811, allocations: 19.89 kB / 0.7791 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.009844, allocations: 25.64 kB / 0.7792 GB, free: 2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.009909, allocations: 318.8 kB / 0.7795 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.009922, allocations: 4 kB / 0.7795 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.009954, allocations: 48.2 kB / 0.7795 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.01001, allocations: 49.81 kB / 0.7796 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01001, allocations: 0.75 kB / 0.7796 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.904e-05/0.01009, allocations: 74.52 kB / 0.7796 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.0101, allocations: 5 kB / 0.7796 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.0101, allocations: 7.984 kB / 0.7796 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.01012, allocations: 3.938 kB / 0.7796 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.01017, allocations: 12.94 kB / 0.7797 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.01018, allocations: 4 kB / 0.7797 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/0.01021, allocations: 17.28 kB / 0.7797 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.01021, allocations: 4 kB / 0.7797 GB, free: 1.422 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.784e-05/0.01027, allocations: 113.8 kB / 0.7798 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.01028, allocations: 5.125 kB / 0.7798 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.761e-05/0.01036, allocations: 62.61 kB / 0.7799 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01036, allocations: 3.938 kB / 0.7799 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01037, allocations: 5.062 kB / 0.7799 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-06/0.01038, allocations: 15.92 kB / 0.7799 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.01039, allocations: 4 kB / 0.7799 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.206e-05/0.01041, allocations: 4.5 kB / 0.7799 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.01044, allocations: 8.672 kB / 0.7799 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.239e-05/0.01051, allocations: 134.2 kB / 0.78 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.58e-05/0.0106, allocations: 222.8 kB / 0.7802 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.004e-05/0.01063, allocations: 28.8 kB / 0.7803 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.392e-05/0.01065, allocations: 8.859 kB / 0.7803 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of Backend: time 2.21e-07/0.01065, allocations: 0.625 kB / 0.7803 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.01089, allocations: 97.97 kB / 0.7804 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of SimCode: time 0.000516/0.01141, allocations: 0.6392 MB / 0.781 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.002594/0.014, allocations: 1.096 MB / 0.7821 GB, free: 14.96 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: 5.107753926888108]