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.0009114/0.0009114, allocations: 80.92 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.001429/0.001429, 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.9911/0.9911, allocations: 177.1 MB / 204.6 MB, free: 5.488 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 2.026/2.026, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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 3.386e-06/3.386e-06, allocations: 4 kB / 0.7751 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.764e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001874/0.001902, allocations: 0.6884 MB / 0.7758 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.003467, allocations: 1.127 MB / 0.7769 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.003515, allocations: 0.5938 kB / 0.7769 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.003546, allocations: 3.938 kB / 0.7769 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.857e-05/0.003624, allocations: 3.875 kB / 0.7769 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.003943, allocations: 52.34 kB / 0.777 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.004063, allocations: 58.27 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.004145, allocations: 3.984 kB / 0.777 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.587e-05/0.004241, allocations: 30.5 kB / 0.7771 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.581e-05/0.004297, allocations: 29.09 kB / 0.7771 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.004313, allocations: 4 kB / 0.7771 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.21e-05/0.004385, allocations: 16.7 kB / 0.7771 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.004411, allocations: 8 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.00444, allocations: 25.28 kB / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.004584, allocations: 51.81 kB / 0.7772 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.004587, allocations: 0 / 0.7772 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004588, allocations: 0 / 0.7772 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004591, allocations: 0.5312 kB / 0.7772 GB, free: 3.371 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.000433/0.005024, allocations: 261.8 kB / 0.7774 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.005064, allocations: 14.91 kB / 0.7775 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.00517, allocations: 16.8 kB / 0.7775 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.056e-05/0.00526, allocations: 109.8 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.005275, allocations: 8.375 kB / 0.7776 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.005287, allocations: 1.125 kB / 0.7776 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.005412, allocations: 70.86 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.00542, allocations: 1.75 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.005436, allocations: 4.375 kB / 0.7777 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.005441, allocations: 384 / 0.7777 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.86e-05/0.00547, allocations: 7.938 kB / 0.7777 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.005768, allocations: 167 kB / 0.7778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.975e-05/0.005848, allocations: 34.58 kB / 0.7779 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.005868, allocations: 12.84 kB / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.005884, allocations: 0 / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.442e-05/0.005968, allocations: 59.52 kB / 0.7779 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.093e-06/0.00597, allocations: 0 / 0.7779 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001411/0.006111, allocations: 65.05 kB / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.006155, allocations: 55.41 kB / 0.778 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.006225, allocations: 106.7 kB / 0.7781 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.00624, allocations: 33.7 kB / 0.7782 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.006279, allocations: 92.02 kB / 0.7783 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.006301, allocations: 15.89 kB / 0.7783 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.006343, allocations: 25.7 kB / 0.7783 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.006435, allocations: 318.8 kB / 0.7786 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.006455, allocations: 4 kB / 0.7786 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.006494, allocations: 45.88 kB / 0.7787 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.866e-05/0.006563, allocations: 52.86 kB / 0.7787 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.006567, allocations: 4 kB / 0.7787 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001076/0.006675, allocations: 70.86 kB / 0.7788 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.006689, allocations: 5.406 kB / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.006698, allocations: 7.984 kB / 0.7788 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.006714, allocations: 3.938 kB / 0.7788 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.006797, allocations: 16.19 kB / 0.7788 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.0068, allocations: 0.5938 kB / 0.7788 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.006843, allocations: 17.28 kB / 0.7788 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.006853, allocations: 4 kB / 0.7788 GB, free: 1.52 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 7.767e-05/0.00693, allocations: 117.9 kB / 0.7789 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.006944, allocations: 8.594 kB / 0.779 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-05/0.007044, allocations: 62.05 kB / 0.779 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.007047, allocations: 5.062 kB / 0.779 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.007049, allocations: 0 / 0.779 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.007052, allocations: 0 / 0.779 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.007256, allocations: 215.8 kB / 0.7792 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.007258, allocations: 0 / 0.7792 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.007305, allocations: 7.938 kB / 0.7792 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.007309, allocations: 0.5 kB / 0.7792 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.007318, allocations: 8.719 kB / 0.7792 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.007319, allocations: 0 / 0.7792 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007321, allocations: 1.219 kB / 0.7792 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.905e-05/0.00742, allocations: 147.5 kB / 0.7794 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-06/0.007429, allocations: 3.953 kB / 0.7794 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.007449, allocations: 12.47 kB / 0.7794 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.007518, allocations: 8.672 kB / 0.7794 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.007549, allocations: 3.984 kB / 0.7794 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.00756, allocations: 5.781 kB / 0.7794 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.561e-05/0.007576, allocations: 8.859 kB / 0.7794 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007576, allocations: 0 / 0.7794 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002296/0.007805, allocations: 16 kB / 0.7794 GB, free: 0.8516 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.000146/0.007951, allocations: 91.58 kB / 0.7795 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.008046, allocations: 40.78 kB / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.008048, allocations: 0 / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.008082, allocations: 12.86 kB / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.008285, allocations: 11.98 kB / 0.7796 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.008748, allocations: 163.3 kB / 0.7797 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.735e-05/0.008796, allocations: 60.38 kB / 0.7798 GB, free: 432 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.008825, allocations: 4 kB / 0.7798 GB, free: 428 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.008882, allocations: 55.38 kB / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of SimCode: time 8.22e-07/0.008883, allocations: 4 kB / 0.7799 GB, free: 368 kB / 0.7292 GB Notification: Performance of Templates: time 0.003229/0.01211, allocations: 0.9078 MB / 0.7807 GB, free: 15.51 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.171606179326773]