Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.406/2.406, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.001621/0.00162, allocations: 180.1 kB / 325.6 MB, free: 2.785 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.479/2.479, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001077/0.001077, allocations: 94.28 kB / 0.6811 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006176/0.0006176, allocations: 18.52 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2054, allocations: 106.3 MB / 0.8989 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/0.421, allocations: 131.2 MB / 1.027 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.4214, allocations: 75.95 kB / 1.027 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003238/0.4246, allocations: 0.7504 MB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4247, allocations: 4 kB / 1.028 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.4247, allocations: 4 kB / 1.028 GB, free: 13.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006691/0.4254, allocations: 351.3 kB / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4254, allocations: 8.031 kB / 1.028 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.4255, allocations: 7.906 kB / 1.028 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.4256, allocations: 167 kB / 1.028 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4257, allocations: 0 / 1.028 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.4257, allocations: 16.17 kB / 1.028 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.426, allocations: 65.59 kB / 1.028 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.426, allocations: 7.922 kB / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.4261, allocations: 0 / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4261, allocations: 0 / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.4264, allocations: 59.95 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.4269, allocations: 256.9 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.4274, allocations: 82.45 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.4274, allocations: 0 / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003616/0.4278, allocations: 79.47 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.4278, allocations: 4 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0007051/0.4285, allocations: 125.5 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.4286, allocations: 51.41 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4287, allocations: 116.9 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4287, allocations: 29.64 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.4288, allocations: 88.14 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.4288, allocations: 3.906 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.4289, allocations: 0 / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.429, allocations: 322.8 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.4292, allocations: 31.98 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.4295, allocations: 35.97 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.4297, allocations: 32.44 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4297, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004908/0.4302, allocations: 109.5 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4302, allocations: 8 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4302, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4303, allocations: 3.984 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.4305, allocations: 19.92 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4305, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.4307, allocations: 16 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.4307, allocations: 11.94 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001102/0.4308, allocations: 105.8 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.4309, allocations: 7.906 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.4309, allocations: 7.906 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4309, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4309, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.431, allocations: 8 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.4312, allocations: 173.6 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4312, allocations: 3.984 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.4313, allocations: 8 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.4314, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4314, allocations: 7.938 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.4314, allocations: 3.984 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4314, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.4319, allocations: 133.1 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.432, allocations: 84.95 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.432, allocations: 8 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.4322, allocations: 11.98 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.4323, allocations: 11.98 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4323, allocations: 0 / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.114e-05/0.4324, allocations: 91.27 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4324, allocations: 0 / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002467/0.4326, allocations: 8 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001621/0.4328, allocations: 103.2 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000473/0.4333, allocations: 75.88 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4333, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.4335, allocations: 35.97 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.4338, allocations: 17.84 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.4343, allocations: 134.6 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.4345, allocations: 0.677 MB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.722e-05/0.4346, allocations: 4.25 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.4346, allocations: 15.44 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/0.4346, allocations: 0 / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of Templates: time 0.003683/0.4383, allocations: 0.6794 MB / 1.032 GB, free: 8.258 MB / 0.6823 GB