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.527/2.527, allocations: 253.2 MB / 260.6 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 184.8 kB / 319.9 MB, free: 3.059 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.162/2.162, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001165/0.001164, allocations: 78.72 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.175e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2238, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.237, allocations: 131.3 MB / 1.017 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.237, allocations: 74.27 kB / 1.017 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001887/1.239, allocations: 0.5681 MB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.532e-06/1.239, allocations: 0 / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.239, allocations: 0 / 1.018 GB, free: 5.375 MB / 0.6355 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.0004427/1.239, allocations: 330.7 kB / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.239, allocations: 8.031 kB / 1.018 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/1.239, allocations: 4 kB / 1.018 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/1.24, allocations: 170.9 kB / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/1.24, allocations: 4 kB / 1.018 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/1.24, allocations: 0 / 1.018 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.127e-05/1.24, allocations: 4 kB / 1.018 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.339e-05/1.24, allocations: 37 kB / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/1.24, allocations: 0 / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.24, allocations: 0.5 kB / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/1.24, allocations: 4 kB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/1.24, allocations: 141.4 kB / 1.018 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.772e-05/1.24, allocations: 25.86 kB / 1.018 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/1.24, allocations: 8.922 kB / 1.018 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/1.24, allocations: 3 kB / 1.018 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/1.24, allocations: 54.28 kB / 1.018 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/1.24, allocations: 6.625 kB / 1.018 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001715/1.241, allocations: 48.59 kB / 1.018 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/1.241, allocations: 51.41 kB / 1.018 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/1.241, allocations: 92.06 kB / 1.018 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/1.241, allocations: 33.69 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/1.241, allocations: 80.14 kB / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/1.241, allocations: 3.188 kB / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-06/1.241, allocations: 0 / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.241, allocations: 322.8 kB / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/1.241, allocations: 4.25 kB / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/1.241, allocations: 16.78 kB / 1.019 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.645e-05/1.241, allocations: 7.984 kB / 1.019 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.241, allocations: 3.953 kB / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001076/1.241, allocations: 44.73 kB / 1.019 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.241, allocations: 8 kB / 1.019 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.241, allocations: 0 / 1.019 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.241, allocations: 8.391 kB / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/1.241, allocations: 11.88 kB / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/1.241, allocations: 0 / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/1.242, allocations: 4 kB / 1.019 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/1.242, allocations: 4 kB / 1.019 GB, free: 3.699 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 () * 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.462e-05/1.242, allocations: 104 kB / 1.019 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/1.242, allocations: 11.92 kB / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/1.242, allocations: 8.125 kB / 1.019 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.242, allocations: 7.938 kB / 1.019 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.242, allocations: 0 / 1.019 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.242, allocations: 0 / 1.019 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/1.242, allocations: 133.7 kB / 1.019 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/1.242, allocations: 0 / 1.019 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-06/1.242, allocations: 0 / 1.019 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/1.242, allocations: 3.953 kB / 1.019 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/1.242, allocations: 4 kB / 1.019 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.242, allocations: 0 / 1.019 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.242, allocations: 0 / 1.019 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/1.242, allocations: 79.92 kB / 1.019 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/1.242, allocations: 81.02 kB / 1.019 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/1.242, allocations: 7.953 kB / 1.019 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/1.242, allocations: 4 kB / 1.019 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/1.242, allocations: 3.984 kB / 1.019 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/1.242, allocations: 4 kB / 1.019 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.267e-05/1.243, allocations: 82.16 kB / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.243, allocations: 4 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002502/1.243, allocations: 4 kB / 1.02 GB, free: 3.094 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 () * 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.0001461/1.243, allocations: 99.23 kB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.812e-05/1.243, allocations: 15.44 kB / 1.02 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.243, allocations: 0 / 1.02 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/1.243, allocations: 11.25 kB / 1.02 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/1.243, allocations: 4 kB / 1.02 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/1.244, allocations: 75.67 kB / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/1.244, allocations: 0.6768 MB / 1.02 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.084e-05/1.244, allocations: 4 kB / 1.02 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/1.244, allocations: 7.438 kB / 1.02 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/1.244, allocations: 7.875 kB / 1.02 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of Templates: time 0.003123/1.247, allocations: 436.1 kB / 1.021 GB, free: 1.742 MB / 0.6355 GB