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.0006952/0.0006952, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009074/0.001603, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006889/0.0006889, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.00174, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9325/0.9325, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09066/1.023, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.981/1.981, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5078/2.488, allocations: 127.1 MB / 0.7432 GB, free: 4.633 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 1.804e-06/1.804e-06, allocations: 0 / 0.7444 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.508e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001163/0.001178, allocations: 0.7299 MB / 0.7452 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.00221, allocations: 1.127 MB / 0.7463 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.002254, allocations: 1.594 kB / 0.7463 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.002277, allocations: 3.938 kB / 0.7463 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.919e-05/0.002316, allocations: 3.281 kB / 0.7463 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.002483, allocations: 52.38 kB / 0.7463 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.002576, allocations: 53.59 kB / 0.7464 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/0.002647, allocations: 10 kB / 0.7464 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.504e-05/0.002732, allocations: 30.48 kB / 0.7464 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.002784, allocations: 25.59 kB / 0.7464 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.002799, allocations: 4 kB / 0.7464 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.735e-05/0.002876, allocations: 24.7 kB / 0.7465 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.002894, allocations: 11.84 kB / 0.7465 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.002916, allocations: 13.86 kB / 0.7465 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.003024, allocations: 42.25 kB / 0.7465 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.003035, allocations: 0 / 0.7465 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003036, allocations: 0 / 0.7465 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.003049, allocations: 0 / 0.7465 GB, free: 1.281 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.0004275/0.003476, allocations: 274.3 kB / 0.7468 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.003505, allocations: 8.031 kB / 0.7468 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.003617, allocations: 97.97 kB / 0.7469 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.621e-05/0.003693, allocations: 113.7 kB / 0.747 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.003702, allocations: 5.156 kB / 0.747 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.00371, allocations: 4.375 kB / 0.747 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.907e-05/0.003809, allocations: 66.16 kB / 0.7471 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.003816, allocations: 192 / 0.7471 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.003824, allocations: 4.359 kB / 0.7471 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.003828, allocations: 384 / 0.7471 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.804e-05/0.003856, allocations: 15.94 kB / 0.7471 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.004093, allocations: 160.3 kB / 0.7472 GB, free: 472 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.951e-05/0.004152, allocations: 30.52 kB / 0.7473 GB, free: 432 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.004171, allocations: 18.78 kB / 0.7473 GB, free: 412 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.004189, allocations: 3.984 kB / 0.7473 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.34e-05/0.004272, allocations: 56.14 kB / 0.7473 GB, free: 340 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.004274, allocations: 0.5312 kB / 0.7473 GB, free: 340 kB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001231/0.004397, allocations: 66.19 kB / 0.7474 GB, free: 268 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.004439, allocations: 51.41 kB / 0.7475 GB, free: 204 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.275e-05/0.004502, allocations: 115.3 kB / 0.7476 GB, free: 76 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.004515, allocations: 25.7 kB / 0.7476 GB, free: 44 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.004565, allocations: 93.53 kB / 0.7477 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.004586, allocations: 19.88 kB / 0.7477 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.004617, allocations: 21.72 kB / 0.7477 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.004699, allocations: 326.8 kB / 0.748 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.004713, allocations: 4.969 kB / 0.748 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.004747, allocations: 44.2 kB / 0.7481 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.986e-05/0.004807, allocations: 61.98 kB / 0.7481 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.004809, allocations: 0 / 0.7481 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.518e-05/0.004885, allocations: 71.7 kB / 0.7482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.004899, allocations: 6.812 kB / 0.7482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.004903, allocations: 0 / 0.7482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.004914, allocations: 9.125 kB / 0.7482 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.004986, allocations: 19.92 kB / 0.7482 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.004991, allocations: 4 kB / 0.7482 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.00502, allocations: 12.89 kB / 0.7483 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.005026, allocations: 320 / 0.7483 GB, free: 15.32 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.845e-05/0.005085, allocations: 114.3 kB / 0.7484 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.005095, allocations: 8 kB / 0.7484 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.334e-05/0.005178, allocations: 75.41 kB / 0.7484 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.00518, allocations: 3.938 kB / 0.7485 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.005182, allocations: 0 / 0.7485 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.005185, allocations: 1.094 kB / 0.7485 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.005338, allocations: 206.8 kB / 0.7486 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005339, allocations: 0 / 0.7486 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.005368, allocations: 8.5 kB / 0.7487 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.005374, allocations: 3.938 kB / 0.7487 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005375, allocations: 0.75 kB / 0.7487 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.005381, allocations: 3.984 kB / 0.7487 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.005382, allocations: 6.031 kB / 0.7487 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005383, allocations: 0 / 0.7487 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.419e-05/0.005457, allocations: 147.5 kB / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.005471, allocations: 7.922 kB / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.005511, allocations: 4 kB / 0.7488 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.005541, allocations: 14.98 kB / 0.7488 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.00555, allocations: 3.938 kB / 0.7488 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.189e-05/0.005562, allocations: 12.86 kB / 0.7489 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005562, allocations: 3.938 kB / 0.7489 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001301/0.005692, allocations: 15.95 kB / 0.7489 GB, free: 14.64 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 9.962e-05/0.005791, allocations: 88.41 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.788e-05/0.005869, allocations: 39.8 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.005873, allocations: 0 / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.821e-05/0.005901, allocations: 20.84 kB / 0.749 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.006031, allocations: 12 kB / 0.749 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.006631, allocations: 157.9 kB / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.006664, allocations: 61.41 kB / 0.7492 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.006686, allocations: 4.844 kB / 0.7492 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.006731, allocations: 59.36 kB / 0.7493 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.006731, allocations: 1.25 kB / 0.7493 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of Templates: time 0.002409/0.00914, allocations: 0.9313 MB / 0.7502 GB, free: 13.27 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.954379724338651]