Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.803/4.803, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002514/0.002514, allocations: 359.7 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.416/4.416, allocations: 410.7 MB / 1.113 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001824/0.001824, allocations: 167.7 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.0005021, allocations: 12 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.712, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/0.9309, allocations: 138.2 MB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.9312, allocations: 79.95 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.083/1.014, allocations: 17.35 MB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.345e-06/1.014, allocations: 3.938 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.343e-05/1.014, allocations: 4 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001422/1.016, allocations: 0.9939 MB / 1.614 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.016, allocations: 15.62 kB / 1.614 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/1.016, allocations: 67.61 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/1.016, allocations: 219.2 kB / 1.615 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/1.017, allocations: 36.48 kB / 1.615 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003033/1.017, allocations: 64 kB / 1.615 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/1.017, allocations: 211.4 kB / 1.615 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.017, allocations: 0 / 1.615 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/1.017, allocations: 13.42 kB / 1.615 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/1.017, allocations: 0.6094 kB / 1.615 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/1.018, allocations: 64.56 kB / 1.615 GB, free: 127 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/1.019, allocations: 0.8577 MB / 1.616 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/1.019, allocations: 318.5 kB / 1.616 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/1.019, allocations: 138.8 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/1.019, allocations: 6.406 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007174/1.02, allocations: 464.7 kB / 1.617 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=45): time 2.965e-06/1.02, allocations: 3.375 kB / 1.617 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45): time 0.001701/1.022, allocations: 0.5538 MB / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.022, allocations: 439.2 kB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/1.022, allocations: 292.3 kB / 1.618 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003809/1.023, allocations: 69.69 kB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/1.023, allocations: 158.7 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/1.023, allocations: 96.61 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/1.023, allocations: 36 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.937e-05/1.023, allocations: 360.3 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.025, allocations: 421.3 kB / 1.619 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/1.026, allocations: 0.7012 MB / 1.62 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/1.028, allocations: 0.8188 MB / 1.62 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/1.028, allocations: 4 kB / 1.62 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004336/1.032, allocations: 1.719 MB / 1.622 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002585/1.033, allocations: 484.9 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/1.033, allocations: 8 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/1.033, allocations: 20.12 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/1.033, allocations: 31.86 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/1.033, allocations: 15.94 kB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/1.037, allocations: 0.546 MB / 1.623 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000448/1.038, allocations: 99.92 kB / 1.623 GB, free: 117.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0005048/1.038, allocations: 223 kB / 1.624 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/1.038, allocations: 47.52 kB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.756e-05/1.038, allocations: 38.14 kB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/1.038, allocations: 11.94 kB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.038, allocations: 4 kB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.038, allocations: 4 kB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/1.039, allocations: 325.4 kB / 1.624 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.039, allocations: 4 kB / 1.624 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/1.039, allocations: 23.92 kB / 1.624 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/1.039, allocations: 4 kB / 1.624 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/1.039, allocations: 27.97 kB / 1.624 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/1.039, allocations: 7.938 kB / 1.624 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.039, allocations: 4 kB / 1.624 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008626/1.04, allocations: 0.5059 MB / 1.625 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/1.04, allocations: 124.6 kB / 1.625 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/1.04, allocations: 12 kB / 1.625 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/1.04, allocations: 15.98 kB / 1.625 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.04, allocations: 59.83 kB / 1.625 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/1.04, allocations: 28.64 kB / 1.625 GB, free: 116 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002042/1.041, allocations: 191.1 kB / 1.625 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.4e-07/1.041, allocations: 0 / 1.625 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001279/1.042, allocations: 208 kB / 1.625 GB, free: 115.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002301/1.042, allocations: 143 kB / 1.625 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002941/1.045, allocations: 1.752 MB / 1.627 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.045, allocations: 0 / 1.627 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004808/1.046, allocations: 179.7 kB / 1.627 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/1.047, allocations: 119.8 kB / 1.627 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/1.048, allocations: 0.6813 MB / 1.628 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/1.049, allocations: 0.7803 MB / 1.629 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000201/1.049, allocations: 46.91 kB / 1.629 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.353e-05/1.049, allocations: 39.42 kB / 1.629 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.433e-06/1.049, allocations: 0 / 1.629 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.02396/1.073, allocations: 10.85 MB / 1.639 GB, free: 101 MB / 0.8542 GB