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.0009127/0.0009127, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009383/0.0009383, allocations: 172.9 kB / 25.18 MB, free: 8.918 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.9429/0.9429, allocations: 177.2 MB / 205.6 MB, free: 5.414 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.89/1.89, allocations: 389.6 MB / 0.6364 GB, free: 12.25 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 2.424e-06/2.424e-06, allocations: 0.6562 kB / 0.7755 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.532e-05, allocations: 2.969 kB / 0.7755 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001561/0.001576, allocations: 0.7189 MB / 0.7762 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.003, allocations: 1.13 MB / 0.7773 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.003068, allocations: 0 / 0.7773 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.003113, allocations: 0 / 0.7773 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.899e-05/0.003212, allocations: 14.66 kB / 0.7773 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.003551, allocations: 48.8 kB / 0.7774 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.003679, allocations: 58.42 kB / 0.7774 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.003772, allocations: 4 kB / 0.7774 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.991e-05/0.003872, allocations: 34.16 kB / 0.7775 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.003925, allocations: 16.45 kB / 0.7775 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.003943, allocations: 8.75 kB / 0.7775 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.642e-05/0.004029, allocations: 19.98 kB / 0.7775 GB, free: 4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.004053, allocations: 10.3 kB / 0.7775 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.004084, allocations: 19.92 kB / 0.7776 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.004217, allocations: 59.8 kB / 0.7776 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004219, allocations: 0 / 0.7776 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004219, allocations: 0 / 0.7776 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.004224, allocations: 0 / 0.7776 GB, free: 3.914 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.0004179/0.004642, allocations: 259.6 kB / 0.7779 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.004682, allocations: 21.27 kB / 0.7779 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.004774, allocations: 4.938 kB / 0.7779 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.478e-05/0.004869, allocations: 113.7 kB / 0.778 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.00488, allocations: 384 / 0.778 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.004893, allocations: 8.375 kB / 0.778 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.005009, allocations: 65.67 kB / 0.7781 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.005018, allocations: 192 / 0.7781 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.005027, allocations: 4.375 kB / 0.7781 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.005034, allocations: 8.312 kB / 0.7781 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.005061, allocations: 7.938 kB / 0.7781 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.005356, allocations: 160.3 kB / 0.7782 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.005e-05/0.005436, allocations: 39.25 kB / 0.7783 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.005456, allocations: 9.547 kB / 0.7783 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.005473, allocations: 0 / 0.7783 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.307e-05/0.005546, allocations: 63.97 kB / 0.7783 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.005547, allocations: 0.625 kB / 0.7783 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001299/0.005677, allocations: 61.61 kB / 0.7784 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.005723, allocations: 56.17 kB / 0.7785 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.005785, allocations: 102.7 kB / 0.7786 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.005799, allocations: 30.33 kB / 0.7786 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.005839, allocations: 100 kB / 0.7787 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.005857, allocations: 16.75 kB / 0.7787 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.005891, allocations: 25.69 kB / 0.7787 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.005969, allocations: 320.3 kB / 0.779 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.005981, allocations: 4 kB / 0.779 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.006016, allocations: 44.22 kB / 0.7791 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.953e-05/0.006076, allocations: 61.38 kB / 0.7791 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006078, allocations: 1.688 kB / 0.7791 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.891e-05/0.006157, allocations: 69.55 kB / 0.7792 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.00617, allocations: 7.344 kB / 0.7792 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.006177, allocations: 4 kB / 0.7792 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.006192, allocations: 4.438 kB / 0.7792 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.006263, allocations: 21.67 kB / 0.7792 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.006267, allocations: 3.938 kB / 0.7792 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.006293, allocations: 8.203 kB / 0.7792 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.0063, allocations: 4 kB / 0.7792 GB, free: 2.066 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.473e-05/0.006375, allocations: 118.7 kB / 0.7794 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.006387, allocations: 16.02 kB / 0.7794 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.688e-05/0.006474, allocations: 59.27 kB / 0.7794 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.006477, allocations: 3.938 kB / 0.7794 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.006478, allocations: 0 / 0.7794 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.006481, allocations: 3.938 kB / 0.7794 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.006641, allocations: 208.6 kB / 0.7796 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.006643, allocations: 0 / 0.7796 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.006673, allocations: 7.984 kB / 0.7796 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.006676, allocations: 4 kB / 0.7797 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.006682, allocations: 5.156 kB / 0.7797 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006684, allocations: 0 / 0.7797 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006685, allocations: 0 / 0.7797 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.264e-05/0.006767, allocations: 151.5 kB / 0.7798 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.006777, allocations: 12.55 kB / 0.7798 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.006792, allocations: 5.062 kB / 0.7798 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.192e-05/0.006834, allocations: 8 kB / 0.7798 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.006862, allocations: 3.984 kB / 0.7798 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.006873, allocations: 4.5 kB / 0.7798 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.306e-05/0.006886, allocations: 13.41 kB / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.006886, allocations: 0 / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001341/0.00702, allocations: 16.53 kB / 0.7799 GB, free: 1.391 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.0001102/0.00713, allocations: 83.86 kB / 0.7799 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.007213, allocations: 40.78 kB / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.007218, allocations: 1.281 kB / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.379e-05/0.007252, allocations: 24.78 kB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.007396, allocations: 4.812 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.007834, allocations: 179.2 kB / 0.7802 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.836e-05/0.007893, allocations: 74.59 kB / 0.7803 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.007949, allocations: 55.38 kB / 0.7803 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.00795, allocations: 5.312 kB / 0.7803 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of Templates: time 0.001953/0.009903, allocations: 0.9239 MB / 0.7812 GB, free: 15.98 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 > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.612695963121951]