Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.0007467/0.0007467, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001729/0.002476, 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.001165/0.001165, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.002736, 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 1.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08787/1.104, allocations: 53.66 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.94/1.94, allocations: 389.9 MB / 0.6191 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5495/2.489, allocations: 127.1 MB / 0.7432 GB, free: 4.602 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7445 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.997e-05, allocations: 4.984 kB / 0.7445 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001375/0.001395, allocations: 0.7383 MB / 0.7452 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.00254, allocations: 1.132 MB / 0.7463 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.002591, allocations: 0 / 0.7463 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.002616, allocations: 3.938 kB / 0.7463 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.778e-05/0.002654, allocations: 6.031 kB / 0.7463 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.002849, allocations: 55.69 kB / 0.7463 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.003036, allocations: 69.59 kB / 0.7464 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.342e-05/0.00311, allocations: 16.62 kB / 0.7464 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.825e-05/0.003198, allocations: 38.59 kB / 0.7465 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.003251, allocations: 30.69 kB / 0.7465 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.003273, allocations: 8.781 kB / 0.7465 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.003352, allocations: 19.98 kB / 0.7465 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.003371, allocations: 12.72 kB / 0.7465 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.003397, allocations: 18.02 kB / 0.7466 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003513, allocations: 60.36 kB / 0.7466 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.003525, allocations: 0 / 0.7466 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003526, allocations: 0 / 0.7466 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.003538, allocations: 0 / 0.7466 GB, free: 1.164 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004492/0.003988, allocations: 293.9 kB / 0.7469 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.004021, allocations: 8.031 kB / 0.7469 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.004159, allocations: 90.03 kB / 0.747 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.004267, allocations: 117.7 kB / 0.7471 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.004296, allocations: 9.469 kB / 0.7471 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.00431, allocations: 8.375 kB / 0.7471 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.004453, allocations: 71.92 kB / 0.7472 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.004461, allocations: 192 / 0.7472 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.004472, allocations: 8.359 kB / 0.7472 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.004477, allocations: 0.9688 kB / 0.7472 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.004511, allocations: 11.94 kB / 0.7472 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.004822, allocations: 188.9 kB / 0.7474 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.275e-05/0.004905, allocations: 48.05 kB / 0.7474 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.004927, allocations: 18.03 kB / 0.7474 GB, free: 216 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.004948, allocations: 0 / 0.7474 GB, free: 216 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.818e-05/0.005036, allocations: 79.98 kB / 0.7475 GB, free: 124 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.005037, allocations: 0.9375 kB / 0.7475 GB, free: 124 kB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000135/0.005172, allocations: 73.61 kB / 0.7476 GB, free: 44 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.005225, allocations: 60.55 kB / 0.7476 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/0.005277, allocations: 110.7 kB / 0.7478 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.005292, allocations: 33.69 kB / 0.7478 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.005321, allocations: 85.31 kB / 0.7479 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.00534, allocations: 23.78 kB / 0.7479 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.005377, allocations: 37.8 kB / 0.7479 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.005447, allocations: 327.7 kB / 0.7482 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.005465, allocations: 8 kB / 0.7482 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.005494, allocations: 33.28 kB / 0.7483 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/0.005553, allocations: 62.66 kB / 0.7483 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.005555, allocations: 0 / 0.7483 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.498e-05/0.00564, allocations: 85.59 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.005653, allocations: 4 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.00566, allocations: 7.719 kB / 0.7484 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.005669, allocations: 3.938 kB / 0.7484 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.279e-05/0.005761, allocations: 23.98 kB / 0.7485 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.005767, allocations: 7.938 kB / 0.7485 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.005795, allocations: 11.95 kB / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.005802, allocations: 0 / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.464e-05/0.005876, allocations: 134.3 kB / 0.7486 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-06/0.005886, allocations: 4 kB / 0.7486 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.876e-05/0.005985, allocations: 73.36 kB / 0.7487 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.005988, allocations: 7.875 kB / 0.7487 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.005991, allocations: 3.984 kB / 0.7487 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.005995, allocations: 0 / 0.7487 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.006185, allocations: 226.7 kB / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.006188, allocations: 4 kB / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.006219, allocations: 4 kB / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.006227, allocations: 7.938 kB / 0.7489 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.006228, allocations: 0 / 0.7489 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.006234, allocations: 4.547 kB / 0.7489 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.006236, allocations: 4 kB / 0.7489 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006237, allocations: 3.688 kB / 0.7489 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.099e-05/0.006318, allocations: 159.5 kB / 0.7491 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.006333, allocations: 7.938 kB / 0.7491 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.006375, allocations: 7.984 kB / 0.7491 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.006401, allocations: 7.984 kB / 0.7491 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.006407, allocations: 4 kB / 0.7491 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.106e-05/0.006418, allocations: 12.84 kB / 0.7491 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006418, allocations: 0 / 0.7491 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001399/0.006558, allocations: 23.98 kB / 0.7491 GB, free: 14.33 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001018/0.006659, allocations: 94.02 kB / 0.7492 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.842e-05/0.006748, allocations: 56.77 kB / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.006753, allocations: 0 / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.006784, allocations: 24.84 kB / 0.7493 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.006924, allocations: 12.17 kB / 0.7493 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.007529, allocations: 171.2 kB / 0.7495 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.355e-05/0.007563, allocations: 59.88 kB / 0.7495 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.00759, allocations: 9.391 kB / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.007641, allocations: 64.23 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.007641, allocations: 3.938 kB / 0.7496 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.002719/0.01036, allocations: 1.149 MB / 0.7507 GB, free: 12.71 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.113732263445854]