Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.204/2.204, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001595/0.001595, allocations: 178.9 kB / 325.6 MB, free: 2.863 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.554/2.554, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001205/0.001204, allocations: 90.34 kB / 0.6811 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004835, allocations: 15.33 kB / 0.7952 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2131, allocations: 106.2 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/0.43, allocations: 131.1 MB / 1.027 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4303, allocations: 71.95 kB / 1.027 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001814/0.4322, allocations: 0.571 MB / 1.028 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4322, allocations: 0 / 1.028 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.4322, allocations: 3.938 kB / 1.028 GB, free: 13.56 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004449/0.4327, allocations: 335.5 kB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4327, allocations: 12.03 kB / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.4328, allocations: 0 / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.4329, allocations: 175 kB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.4329, allocations: 0 / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.433, allocations: 0 / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.735e-05/0.4331, allocations: 33.69 kB / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4331, allocations: 3.938 kB / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4331, allocations: 3.984 kB / 1.028 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4331, allocations: 4 kB / 1.028 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.938e-05/0.4332, allocations: 11.94 kB / 1.028 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.4334, allocations: 165.6 kB / 1.028 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.4335, allocations: 22.58 kB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.4335, allocations: 0 / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.4336, allocations: 51.47 kB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.4337, allocations: 0 / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002172/0.4339, allocations: 57.53 kB / 1.028 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.4339, allocations: 55.41 kB / 1.028 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.001e-05/0.434, allocations: 101 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4341, allocations: 25.7 kB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.4341, allocations: 84.14 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.4342, allocations: 0 / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.4342, allocations: 4 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4343, allocations: 322.8 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.4343, allocations: 4 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.4344, allocations: 21.72 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/0.4344, allocations: 4 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4344, allocations: 0 / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001115/0.4346, allocations: 57.53 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.4346, allocations: 10.19 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4346, allocations: 0 / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4346, allocations: 0 / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.4347, allocations: 4 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4347, allocations: 4.031 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.4348, allocations: 7.984 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.4348, allocations: 4 kB / 1.029 GB, free: 11.79 MB / 0.6823 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 9.091e-05/0.4349, allocations: 113.7 kB / 1.029 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.435, allocations: 11.94 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.435, allocations: 3.5 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.435, allocations: 3.984 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.435, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.435, allocations: 4 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.4352, allocations: 158.1 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4352, allocations: 3.938 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.4352, allocations: 4 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4352, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.4353, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4353, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4353, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.4354, allocations: 81.11 kB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.4355, allocations: 88.95 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.4355, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.4356, allocations: 7.938 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.4357, allocations: 7.984 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.4357, allocations: 4 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.4357, allocations: 83.28 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4357, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002302/0.436, allocations: 4 kB / 1.03 GB, free: 11.12 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,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.000131/0.4361, allocations: 107.2 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.4362, allocations: 12 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4363, allocations: 4 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.4363, allocations: 15.92 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.4365, allocations: 4 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.4368, allocations: 118.7 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4371, allocations: 0.677 MB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.4372, allocations: 4.25 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.4372, allocations: 7.438 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.4372, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of Templates: time 0.002943/0.4402, allocations: 444.9 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB