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.001043/0.001043, allocations: 88.8 kB / 21.62 MB, free: 2.836 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.00105/0.00105, allocations: 169.2 kB / 25.04 MB, free: 8.723 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.8996/0.8996, allocations: 177.2 MB / 205.5 MB, free: 4.422 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.981/1.981, allocations: 389.6 MB / 0.6363 GB, free: 13.34 MB / 0.6042 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.663e-06/1.663e-06, allocations: 0 / 0.7761 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.586e-05, allocations: 5.828 kB / 0.7762 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001268/0.001284, allocations: 0.721 MB / 0.7769 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.00235, allocations: 1.131 MB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.002399, allocations: 0 / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.235e-05/0.002441, allocations: 3.938 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.118e-05/0.002512, allocations: 15.86 kB / 0.778 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.002802, allocations: 47.7 kB / 0.778 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.866e-05/0.0029, allocations: 51.84 kB / 0.7781 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.002989, allocations: 7.984 kB / 0.7781 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.003078, allocations: 35.91 kB / 0.7781 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.003132, allocations: 15.98 kB / 0.7781 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.00315, allocations: 4 kB / 0.7781 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.138e-05/0.003241, allocations: 19.97 kB / 0.7782 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.003265, allocations: 15.92 kB / 0.7782 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.003289, allocations: 12 kB / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.00341, allocations: 59.8 kB / 0.7782 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.003412, allocations: 0 / 0.7782 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003413, allocations: 0 / 0.7782 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.003416, allocations: 0 / 0.7782 GB, free: 11.71 MB / 0.7448 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.000337/0.003753, allocations: 260.8 kB / 0.7785 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.003784, allocations: 12.03 kB / 0.7785 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.003861, allocations: 12.86 kB / 0.7785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.512e-05/0.003936, allocations: 113.7 kB / 0.7786 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.003946, allocations: 4.375 kB / 0.7786 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.003956, allocations: 8.375 kB / 0.7786 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.947e-05/0.004055, allocations: 66.92 kB / 0.7787 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.004064, allocations: 192 / 0.7787 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.004071, allocations: 384 / 0.7787 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.004077, allocations: 4.375 kB / 0.7787 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.517e-05/0.004102, allocations: 11.88 kB / 0.7787 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.004328, allocations: 164.3 kB / 0.7789 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.689e-05/0.004385, allocations: 34.55 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.004401, allocations: 8.859 kB / 0.7789 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.004414, allocations: 7.938 kB / 0.7789 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/0.004475, allocations: 67.52 kB / 0.779 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.004476, allocations: 0 / 0.779 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001049/0.00458, allocations: 57.61 kB / 0.779 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.004616, allocations: 55.41 kB / 0.7791 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.773e-05/0.004674, allocations: 106.7 kB / 0.7792 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.004686, allocations: 33.7 kB / 0.7792 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.004716, allocations: 88.06 kB / 0.7793 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.004734, allocations: 15.89 kB / 0.7793 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.004763, allocations: 25.7 kB / 0.7793 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.004831, allocations: 318.8 kB / 0.7796 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.004844, allocations: 7.938 kB / 0.7797 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/0.004875, allocations: 48.27 kB / 0.7797 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.004923, allocations: 52.2 kB / 0.7798 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004924, allocations: 256 / 0.7798 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.226e-05/0.004997, allocations: 73.55 kB / 0.7798 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.005009, allocations: 8.125 kB / 0.7798 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.005016, allocations: 8 kB / 0.7798 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.005026, allocations: 3.938 kB / 0.7798 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.005087, allocations: 15.98 kB / 0.7799 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.005091, allocations: 4 kB / 0.7799 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.005115, allocations: 7.953 kB / 0.7799 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.005121, allocations: 0 / 0.7799 GB, free: 9.852 MB / 0.7448 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.624e-05/0.005177, allocations: 117.8 kB / 0.78 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.005186, allocations: 7.984 kB / 0.78 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.00526, allocations: 62.41 kB / 0.78 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.005263, allocations: 7.938 kB / 0.7801 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.005264, allocations: 0 / 0.7801 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.005268, allocations: 0 / 0.7801 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.005423, allocations: 214.7 kB / 0.7803 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.005425, allocations: 0 / 0.7803 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.005452, allocations: 11.98 kB / 0.7803 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.005453, allocations: 0 / 0.7803 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.005459, allocations: 3.938 kB / 0.7803 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.00546, allocations: 0 / 0.7803 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005462, allocations: 3.938 kB / 0.7803 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.904e-05/0.005541, allocations: 155.5 kB / 0.7804 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.005549, allocations: 7.953 kB / 0.7804 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.005563, allocations: 7.938 kB / 0.7804 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.005614, allocations: 4 kB / 0.7804 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.005644, allocations: 7.984 kB / 0.7805 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.005652, allocations: 0 / 0.7805 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.28e-05/0.005665, allocations: 12.84 kB / 0.7805 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005665, allocations: 0 / 0.7805 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001441/0.005809, allocations: 16 kB / 0.7805 GB, free: 9.16 MB / 0.7448 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.374e-05/0.005903, allocations: 88.45 kB / 0.7806 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.582e-05/0.005979, allocations: 40.77 kB / 0.7806 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.005981, allocations: 0 / 0.7806 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.006008, allocations: 24.78 kB / 0.7806 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.006125, allocations: 4 kB / 0.7806 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.006454, allocations: 156.3 kB / 0.7808 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.006485, allocations: 59.59 kB / 0.7808 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.006506, allocations: 8.188 kB / 0.7808 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.006558, allocations: 63.34 kB / 0.7809 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.006559, allocations: 0 / 0.7809 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of Templates: time 0.002277/0.008836, allocations: 0.9053 MB / 0.7818 GB, free: 7.77 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: 4.755828266963363]