Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009072/0.009071, allocations: 112.7 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002122/0.002122, allocations: 188.5 kB / 15.95 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.032/2.032, allocations: 194.6 MB / 211.3 MB, free: 11.11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.424/2.424, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004636, allocations: 12 kB / 0.587 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5676, allocations: 98.7 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.7521, allocations: 124.2 MB / 0.8046 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.7523, allocations: 75.95 kB / 0.8047 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001625/0.754, allocations: 0.5671 MB / 0.8052 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.496e-06/0.754, allocations: 0 / 0.8052 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.754, allocations: 0 / 0.8052 GB, free: 1.477 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004191/0.7545, allocations: 352.5 kB / 0.8056 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.7545, allocations: 8.031 kB / 0.8056 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.7546, allocations: 4 kB / 0.8056 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.7547, allocations: 163 kB / 0.8058 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.7547, allocations: 4 kB / 0.8058 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-06/0.7548, allocations: 0 / 0.8058 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.963e-05/0.7549, allocations: 37.69 kB / 0.8058 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.335e-06/0.7549, allocations: 0 / 0.8058 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.892e-06/0.7549, allocations: 7.938 kB / 0.8058 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-06/0.7549, allocations: 0 / 0.8058 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.755, allocations: 4 kB / 0.8058 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.7552, allocations: 161.5 kB / 0.806 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.503e-05/0.7553, allocations: 34.53 kB / 0.806 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.812e-06/0.7553, allocations: 0 / 0.806 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.7554, allocations: 55.47 kB / 0.806 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 4.555e-06/0.7554, allocations: 0 / 0.806 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001902/0.7556, allocations: 61.56 kB / 0.8061 GB, free: 444 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.7557, allocations: 51.41 kB / 0.8062 GB, free: 380 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.7558, allocations: 96.98 kB / 0.8062 GB, free: 276 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.7558, allocations: 25.7 kB / 0.8063 GB, free: 244 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.7559, allocations: 84.14 kB / 0.8063 GB, free: 156 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.7559, allocations: 3.906 kB / 0.8064 GB, free: 152 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-06/0.7559, allocations: 0 / 0.8064 GB, free: 152 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.7561, allocations: 322.8 kB / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.7562, allocations: 7.984 kB / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.804e-05/0.7562, allocations: 17.72 kB / 0.8067 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.7563, allocations: 8 kB / 0.8067 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-06/0.7563, allocations: 0 / 0.8067 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001152/0.7564, allocations: 54.14 kB / 0.8067 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.7564, allocations: 5.406 kB / 0.8067 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.375e-06/0.7564, allocations: 4.031 kB / 0.8068 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7565, allocations: 4 kB / 0.8068 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.763e-05/0.7565, allocations: 0 / 0.8068 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.7565, allocations: 0 / 0.8068 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.573e-05/0.7566, allocations: 11.98 kB / 0.8068 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-06/0.7566, allocations: 0 / 0.8068 GB, free: 15.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001064/0.7567, allocations: 117.8 kB / 0.8069 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.7568, allocations: 7.922 kB / 0.8069 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.7568, allocations: 7.5 kB / 0.8069 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-06/0.7568, allocations: 0 / 0.8069 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.7568, allocations: 4 kB / 0.8069 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7568, allocations: 0 / 0.8069 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.757, allocations: 161.6 kB / 0.8071 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-06/0.757, allocations: 0 / 0.8071 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-06/0.7571, allocations: 0 / 0.8071 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.923e-06/0.7571, allocations: 0 / 0.8071 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-06/0.7571, allocations: 7.938 kB / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.052e-06/0.7571, allocations: 4 kB / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.7571, allocations: 0 / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.7572, allocations: 77.03 kB / 0.8071 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.7573, allocations: 85.05 kB / 0.8072 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.7573, allocations: 4 kB / 0.8072 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/0.7574, allocations: 7.938 kB / 0.8072 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.7575, allocations: 3.984 kB / 0.8072 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.7575, allocations: 4 kB / 0.8072 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.3e-05/0.7576, allocations: 91.22 kB / 0.8073 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.89e-07/0.7576, allocations: 0 / 0.8073 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002436/0.7578, allocations: 4 kB / 0.8073 GB, free: 15.03 MB / 0.6355 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,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001303/0.758, allocations: 103.2 kB / 0.8074 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.055e-05/0.7581, allocations: 16 kB / 0.8074 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.272e-06/0.7581, allocations: 0 / 0.8074 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.419e-05/0.7581, allocations: 8 kB / 0.8074 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.7583, allocations: 19.98 kB / 0.8075 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.7587, allocations: 115.3 kB / 0.8076 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.759, allocations: 0.6848 MB / 0.8082 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.7591, allocations: 0 / 0.8082 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.7591, allocations: 11.44 kB / 0.8083 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of SimCode: time 1.559e-06/0.7591, allocations: 0 / 0.8083 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of Templates: time 0.003195/0.7623, allocations: 441.7 kB / 0.8087 GB, free: 13.58 MB / 0.6355 GB