Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.361/2.361, allocations: 251.1 MB / 266.1 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001573, allocations: 181.2 kB / 325.6 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.644/2.644, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 100.4 kB / 0.6811 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006727/0.0006729, allocations: 16.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2694, allocations: 106.3 MB / 0.8989 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002812/0.2723, allocations: 1.389 MB / 0.9003 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2734, allocations: 385 kB / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.2736, allocations: 7.938 kB / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.441e-05/0.2736, allocations: 7.922 kB / 0.9006 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.2738, allocations: 35.88 kB / 0.9007 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.2743, allocations: 79.89 kB / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.2747, allocations: 155.7 kB / 0.9009 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.2749, allocations: 45.64 kB / 0.9009 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2751, allocations: 71.75 kB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.2753, allocations: 87.66 kB / 0.9011 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.2754, allocations: 8 kB / 0.9011 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.092e-05/0.2754, allocations: 8 kB / 0.9011 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/0.2755, allocations: 51.75 kB / 0.9012 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.2756, allocations: 61.64 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.2759, allocations: 155.8 kB / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.276, allocations: 0 / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.276, allocations: 0 / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.276, allocations: 0 / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.00132/0.2773, allocations: 489.5 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.2774, allocations: 8.031 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.2775, allocations: 31.77 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.2784, allocations: 278.9 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.2785, allocations: 16.31 kB / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.2786, allocations: 24 kB / 0.9022 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.2792, allocations: 176.8 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.2793, allocations: 4 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.2794, allocations: 11.98 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.2794, allocations: 7.953 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.2799, allocations: 116.2 kB / 0.9025 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2817, allocations: 0.5273 MB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.2824, allocations: 206.4 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.2824, allocations: 0 / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008303/0.2833, allocations: 259.2 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 3.617e-06/0.2833, allocations: 0 / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.001499/0.2848, allocations: 422.2 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.2849, allocations: 63.34 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.2851, allocations: 155.6 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.2852, allocations: 45.7 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.2853, allocations: 116.9 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.2855, allocations: 90.8 kB / 0.9043 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.2855, allocations: 15.94 kB / 0.9043 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.2856, allocations: 334.8 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.286, allocations: 89.08 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.2865, allocations: 154.3 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.2869, allocations: 100.8 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2869, allocations: 0 / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001022/0.288, allocations: 311.8 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.288, allocations: 10.02 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.288, allocations: 8 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.2881, allocations: 8.125 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.2885, allocations: 43.86 kB / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.2885, allocations: 0 / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.289, allocations: 43.78 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.289, allocations: 12 kB / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002838/0.2893, allocations: 170.9 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/0.2894, allocations: 23.72 kB / 0.9056 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.2895, allocations: 29.95 kB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2896, allocations: 4 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.2896, allocations: 0 / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.2896, allocations: 0 / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.2917, allocations: 0.7404 MB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.2917, allocations: 0 / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2919, allocations: 19.92 kB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.292, allocations: 0 / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/0.292, allocations: 11.98 kB / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/0.292, allocations: 0 / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.2921, allocations: 7.953 kB / 0.9063 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2932, allocations: 427.1 kB / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.2933, allocations: 104.8 kB / 0.9069 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.2934, allocations: 8 kB / 0.9069 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.2938, allocations: 23.97 kB / 0.9069 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.294, allocations: 43.92 kB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.2941, allocations: 23.88 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001051/0.2942, allocations: 109.1 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.41e-07/0.2942, allocations: 0 / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007536/0.295, allocations: 79.89 kB / 0.9071 GB, free: 56.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (booPul2.y,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer2.reset_internal,accuTimer1.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002376/0.2953, allocations: 121.8 kB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009655/0.2962, allocations: 274.9 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2963, allocations: 0 / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004936/0.2968, allocations: 151.9 kB / 0.9077 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.2974, allocations: 32.22 kB / 0.9077 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.2988, allocations: 457.2 kB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.2991, allocations: 0.7416 MB / 0.9088 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002862/0.2994, allocations: 34.95 kB / 0.9089 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.2995, allocations: 27.44 kB / 0.9089 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of SimCode: time 1.333e-06/0.2996, allocations: 0 / 0.9089 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.01034/0.3099, allocations: 2.246 MB / 0.9111 GB, free: 52.5 MB / 0.6042 GB