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.0007288/0.0007288, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009868/0.001716, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001131/0.001131, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002671, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.019/1.019, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09257/1.112, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.914/1.914, allocations: 390 MB / 0.6194 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5134/2.428, allocations: 127.1 MB / 0.7435 GB, free: 4.547 MB / 0.7136 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 2.454e-06/2.454e-06, allocations: 0.6562 kB / 0.7448 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.404e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001559/0.001573, allocations: 0.7241 MB / 0.7455 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.002821, allocations: 1.128 MB / 0.7466 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.002861, allocations: 0 / 0.7466 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.002882, allocations: 3.938 kB / 0.7466 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.369e-05/0.002916, allocations: 12.45 kB / 0.7466 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.003084, allocations: 44.67 kB / 0.7467 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.003173, allocations: 52.84 kB / 0.7467 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.756e-05/0.00324, allocations: 12.97 kB / 0.7467 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.003325, allocations: 33.09 kB / 0.7467 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.003381, allocations: 21.5 kB / 0.7468 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.003394, allocations: 4 kB / 0.7468 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.003478, allocations: 24.95 kB / 0.7468 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.003502, allocations: 9.75 kB / 0.7468 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.003525, allocations: 9.312 kB / 0.7468 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.003655, allocations: 47.12 kB / 0.7469 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.003668, allocations: 1.312 kB / 0.7469 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003669, allocations: 0.875 kB / 0.7469 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.003683, allocations: 0 / 0.7469 GB, free: 1.184 MB / 0.7136 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.0005326/0.004215, allocations: 271 kB / 0.7471 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.004249, allocations: 12.03 kB / 0.7471 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.004388, allocations: 93.97 kB / 0.7472 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/0.004483, allocations: 114.4 kB / 0.7473 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.004495, allocations: 4.375 kB / 0.7473 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.004508, allocations: 4.375 kB / 0.7473 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.004642, allocations: 67.86 kB / 0.7474 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.004652, allocations: 4.125 kB / 0.7474 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.004659, allocations: 1.281 kB / 0.7474 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.004667, allocations: 4.922 kB / 0.7474 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/0.004694, allocations: 12.55 kB / 0.7474 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.004963, allocations: 160.3 kB / 0.7476 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.273e-05/0.005026, allocations: 38.23 kB / 0.7476 GB, free: 328 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.005042, allocations: 12.98 kB / 0.7476 GB, free: 312 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.005057, allocations: 4.594 kB / 0.7476 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.547e-05/0.005133, allocations: 55.39 kB / 0.7477 GB, free: 240 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.005134, allocations: 0 / 0.7477 GB, free: 240 kB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.00012/0.005254, allocations: 64.58 kB / 0.7477 GB, free: 172 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.005293, allocations: 59.39 kB / 0.7478 GB, free: 100 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.005359, allocations: 102.8 kB / 0.7479 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.005373, allocations: 37.47 kB / 0.7479 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.005404, allocations: 92.02 kB / 0.748 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.005422, allocations: 19.89 kB / 0.748 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.005456, allocations: 25.7 kB / 0.7481 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.005537, allocations: 314.8 kB / 0.7484 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.005551, allocations: 4.656 kB / 0.7484 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.005581, allocations: 43.62 kB / 0.7484 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.005632, allocations: 56.19 kB / 0.7485 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.005635, allocations: 4 kB / 0.7485 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.201e-05/0.005707, allocations: 73.53 kB / 0.7485 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.005718, allocations: 7.406 kB / 0.7485 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.005724, allocations: 4 kB / 0.7486 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.005737, allocations: 3.938 kB / 0.7486 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.00581, allocations: 15.98 kB / 0.7486 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.005815, allocations: 7.938 kB / 0.7486 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.005843, allocations: 8 kB / 0.7486 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.005851, allocations: 4.312 kB / 0.7486 GB, free: 15.22 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 6.171e-05/0.005913, allocations: 115.5 kB / 0.7487 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.005923, allocations: 9.109 kB / 0.7487 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.874e-05/0.006002, allocations: 62.06 kB / 0.7488 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.006005, allocations: 3.938 kB / 0.7488 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.006008, allocations: 8.828 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.006013, allocations: 4 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.006172, allocations: 199.4 kB / 0.749 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006173, allocations: 0 / 0.749 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.006201, allocations: 9.406 kB / 0.749 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.006208, allocations: 7.922 kB / 0.749 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.00621, allocations: 4 kB / 0.749 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.006216, allocations: 5.406 kB / 0.749 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006217, allocations: 0 / 0.749 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006219, allocations: 3.938 kB / 0.749 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.113e-05/0.0063, allocations: 147.5 kB / 0.7491 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.006314, allocations: 8.562 kB / 0.7492 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.006353, allocations: 4.625 kB / 0.7492 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.00638, allocations: 11.98 kB / 0.7492 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.006388, allocations: 1.219 kB / 0.7492 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.469e-05/0.006403, allocations: 16.83 kB / 0.7492 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006403, allocations: 0 / 0.7492 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001374/0.00654, allocations: 16.92 kB / 0.7492 GB, free: 14.55 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.0001015/0.006642, allocations: 84.95 kB / 0.7493 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.706e-05/0.006719, allocations: 37.38 kB / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.006724, allocations: 1.625 kB / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.006758, allocations: 28.77 kB / 0.7493 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.006908, allocations: 67.39 kB / 0.7494 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.007467, allocations: 150.1 kB / 0.7496 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.163e-05/0.007498, allocations: 59.36 kB / 0.7496 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.104e-05/0.007519, allocations: 9.703 kB / 0.7496 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.007568, allocations: 63.38 kB / 0.7497 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of SimCode: time 6.02e-07/0.007568, allocations: 0 / 0.7497 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of Templates: time 0.00248/0.01005, allocations: 0.9162 MB / 0.7506 GB, free: 13.13 MB / 0.7292 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: 4.925979095511138]