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.00196/0.00196, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.00215/0.00215, allocations: 213.8 kB / 23.02 MB, free: 2.949 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.785/1.785, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 178] 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 3.514/3.514, allocations: 0.5045 GB / 0.8104 GB, free: 2.852 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003774/0.003774, allocations: 67.88 kB / 1.177 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9896/0.9933, allocations: 180 MB / 1.353 GB, free: 1.699 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002274/0.9956, allocations: 0.6646 MB / 1.354 GB, free: 1.039 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.9975, allocations: 1.089 MB / 1.355 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.9975, allocations: 4 kB / 1.355 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.9976, allocations: 7.875 kB / 1.355 GB, free: 15.92 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.327e-05/0.9977, allocations: 7.938 kB / 1.355 GB, free: 15.91 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.9981, allocations: 47.83 kB / 1.355 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.9982, allocations: 55.67 kB / 1.355 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.9983, allocations: 11.98 kB / 1.355 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.9984, allocations: 19.92 kB / 1.355 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.9984, allocations: 23.91 kB / 1.355 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.9985, allocations: 4 kB / 1.355 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.9985, allocations: 19.98 kB / 1.355 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.9986, allocations: 11.98 kB / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.9986, allocations: 19.92 kB / 1.355 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.9988, allocations: 70.47 kB / 1.355 GB, free: 15.64 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9988, allocations: 0 / 1.355 GB, free: 15.64 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9988, allocations: 0 / 1.355 GB, free: 15.64 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9988, allocations: 0 / 1.355 GB, free: 15.64 MB / 1.042 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.0006788/0.9995, allocations: 294.2 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.9995, allocations: 8.922 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.9996, allocations: 12.89 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.9998, allocations: 106.5 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.9998, allocations: 8.375 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.9998, allocations: 4.375 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/1, allocations: 70.2 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1, allocations: 192 / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/1, allocations: 3.938 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/1, allocations: 0 / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/1, allocations: 47.89 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/1.001, allocations: 224.5 kB / 1.356 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/1.001, allocations: 50.55 kB / 1.356 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/1.001, allocations: 36.89 kB / 1.356 GB, free: 14.69 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/1.001, allocations: 4 kB / 1.356 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/1.001, allocations: 75.31 kB / 1.356 GB, free: 14.6 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/1.001, allocations: 0 / 1.356 GB, free: 14.6 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.000453/1.002, allocations: 129.6 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/1.002, allocations: 51.41 kB / 1.356 GB, free: 14.4 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/1.002, allocations: 101.9 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/1.002, allocations: 25.7 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/1.002, allocations: 100 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/1.002, allocations: 15.97 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/1.002, allocations: 25.7 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.002, allocations: 314.8 kB / 1.357 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/1.002, allocations: 35.91 kB / 1.357 GB, free: 13.76 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/1.002, allocations: 64.2 kB / 1.357 GB, free: 13.68 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/1.003, allocations: 92.19 kB / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.003, allocations: 0 / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004065/1.003, allocations: 121.4 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.003, allocations: 7.984 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.003, allocations: 4 kB / 1.357 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.003, allocations: 0 / 1.357 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.003, allocations: 19.98 kB / 1.357 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.003, allocations: 4 kB / 1.357 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.549e-05/1.003, allocations: 4 kB / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/1.003, allocations: 8.125 kB / 1.357 GB, free: 13.41 MB / 1.042 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 0.0001156/1.003, allocations: 125.7 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/1.003, allocations: 7.953 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/1.004, allocations: 102 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/1.004, allocations: 0 / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.004, allocations: 0 / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.004, allocations: 4 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/1.004, allocations: 314 kB / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.004, allocations: 0 / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/1.004, allocations: 12.23 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.004, allocations: 0 / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/1.004, allocations: 4 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.004, allocations: 0 / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.004, allocations: 0 / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/1.005, allocations: 211.3 kB / 1.358 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/1.005, allocations: 0 / 1.358 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/1.005, allocations: 8 kB / 1.358 GB, free: 12.56 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/1.005, allocations: 11.98 kB / 1.358 GB, free: 12.55 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/1.005, allocations: 3.984 kB / 1.358 GB, free: 12.55 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/1.005, allocations: 4 kB / 1.358 GB, free: 12.54 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.119e-05/1.005, allocations: 83.28 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/1.005, allocations: 0 / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002426/1.005, allocations: 12 kB / 1.358 GB, free: 12.45 MB / 1.042 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.0001821/1.005, allocations: 114 kB / 1.358 GB, free: 12.33 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002973/1.006, allocations: 75.81 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.006, allocations: 0 / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/1.006, allocations: 39.91 kB / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/1.006, allocations: 8.125 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/1.006, allocations: 146.7 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.061e-05/1.007, allocations: 71.59 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.726e-05/1.007, allocations: 7.984 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/1.007, allocations: 15.44 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of SimCode: time 7.01e-07/1.007, allocations: 0 / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of Templates: time 0.003986/1.011, allocations: 0.871 MB / 1.359 GB, free: 11.08 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.674211024306715]