Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 106.8 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 195.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 222.8 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 68.42 kB / 0.6717 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2493, allocations: 114.6 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.002104/0.2515, allocations: 0.8911 MB / 0.7844 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.2532, allocations: 1.337 MB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.2533, allocations: 0 / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.658e-05/0.2533, allocations: 7.922 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.025e-05/0.2534, allocations: 19.86 kB / 0.7857 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007127/0.2541, allocations: 265.7 kB / 0.786 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.2545, allocations: 395.4 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2547, allocations: 37.05 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.2548, allocations: 147.8 kB / 0.7865 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.255, allocations: 135.6 kB / 0.7867 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.458e-05/0.255, allocations: 36 kB / 0.7867 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.2552, allocations: 59.91 kB / 0.7868 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.2552, allocations: 71.8 kB / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.2554, allocations: 151.7 kB / 0.787 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.2557, allocations: 243.7 kB / 0.7872 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2557, allocations: 0 / 0.7872 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2557, allocations: 0 / 0.7872 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2557, allocations: 0 / 0.7872 GB, free: 10.08 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.000984/0.2567, allocations: 0.6162 MB / 0.7878 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2567, allocations: 12.02 kB / 0.7878 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.634e-05/0.2568, allocations: 28.84 kB / 0.7878 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007223/0.2575, allocations: 296.5 kB / 0.7881 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.2576, allocations: 28.59 kB / 0.7882 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.2577, allocations: 36.36 kB / 0.7882 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.2581, allocations: 263.4 kB / 0.7884 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2581, allocations: 8 kB / 0.7885 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.2582, allocations: 7.984 kB / 0.7885 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2582, allocations: 3.984 kB / 0.7885 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.2584, allocations: 128.6 kB / 0.7886 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.2593, allocations: 0.6093 MB / 0.7892 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.2599, allocations: 411.6 kB / 0.7896 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.2601, allocations: 188.7 kB / 0.7898 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.2602, allocations: 0 / 0.7898 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005971/0.2608, allocations: 362.9 kB / 0.7901 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 1.864e-06/0.2608, allocations: 0 / 0.7901 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.001041/0.2618, allocations: 0.6612 MB / 0.7907 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.2619, allocations: 63.36 kB / 0.7908 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.262, allocations: 152.7 kB / 0.791 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.2621, allocations: 49.69 kB / 0.791 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.19e-05/0.2622, allocations: 101 kB / 0.7911 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.2623, allocations: 102.8 kB / 0.7912 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.2625, allocations: 130.1 kB / 0.7913 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2626, allocations: 342.7 kB / 0.7916 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.2629, allocations: 149.1 kB / 0.7918 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.2632, allocations: 292.1 kB / 0.7921 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.2638, allocations: 470.3 kB / 0.7925 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2638, allocations: 4 kB / 0.7925 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008563/0.2646, allocations: 0.5535 MB / 0.7931 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.2647, allocations: 75.39 kB / 0.7931 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2647, allocations: 4 kB / 0.7931 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.2647, allocations: 8 kB / 0.7931 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2649, allocations: 43.86 kB / 0.7932 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.2649, allocations: 19.91 kB / 0.7932 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.2654, allocations: 91.61 kB / 0.7933 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.2654, allocations: 28 kB / 0.7933 GB, free: 3.398 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0002508/0.2657, allocations: 191.7 kB / 0.7935 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.2657, allocations: 27.72 kB / 0.7935 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/0.2658, allocations: 30.3 kB / 0.7936 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2658, allocations: 8 kB / 0.7936 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.2659, allocations: 3.938 kB / 0.7936 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2659, allocations: 0 / 0.7936 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.2673, allocations: 1.014 MB / 0.7946 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2673, allocations: 0 / 0.7946 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/0.2674, allocations: 19.92 kB / 0.7946 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2674, allocations: 4 kB / 0.7946 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.2674, allocations: 15.97 kB / 0.7946 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.2674, allocations: 8 kB / 0.7946 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2674, allocations: 0 / 0.7946 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007726/0.2682, allocations: 0.6162 MB / 0.7952 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.2683, allocations: 100.8 kB / 0.7953 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/0.2684, allocations: 27.98 kB / 0.7953 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2686, allocations: 31.89 kB / 0.7954 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.2687, allocations: 43.94 kB / 0.7954 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.975e-05/0.2687, allocations: 31.97 kB / 0.7954 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.404e-05/0.2688, allocations: 107.2 kB / 0.7955 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2688, allocations: 0 / 0.7955 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004237/0.2692, allocations: 99.97 kB / 0.7956 GB, free: 0.9297 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002211/0.2694, allocations: 145.8 kB / 0.7958 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008562/0.2703, allocations: 0.569 MB / 0.7963 GB, free: 192 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2703, allocations: 0 / 0.7963 GB, free: 192 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.2707, allocations: 299.7 kB / 0.7966 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.2711, allocations: 49.08 kB / 0.7967 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007864/0.2719, allocations: 0.5142 MB / 0.7972 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2722, allocations: 0.7254 MB / 0.7979 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.2723, allocations: 31.42 kB / 0.7979 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2723, allocations: 0 / 0.7979 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of Templates: time 0.005521/0.2778, allocations: 3.519 MB / 0.8013 GB, free: 11.01 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)