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 2.511/2.511, allocations: 287.9 MB / 302.9 MB, free: 8.418 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 172.3 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 0.6301 GB, free: 10.35 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 85.23 kB / 0.7434 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007106/0.0007107, allocations: 13.75 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.194, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001075/0.1951, allocations: 0.8298 MB / 0.9796 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1974, allocations: 1.901 MB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.901e-05/0.1975, allocations: 4 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.1976, allocations: 7.875 kB / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1978, allocations: 91.73 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003486/0.2013, allocations: 1.283 MB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000769/0.2021, allocations: 0.5772 MB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.743e-05/0.2022, allocations: 20.75 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.2026, allocations: 415.3 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.2029, allocations: 331 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.2031, allocations: 60 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.2033, allocations: 71.98 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.2034, allocations: 51.83 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.2036, allocations: 121.6 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.2042, allocations: 0.6664 MB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.838e-06/0.2042, allocations: 4 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.29e-06/0.2042, allocations: 0 / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.869e-06/0.2042, allocations: 0 / 0.985 GB, free: 21.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007974/0.205, allocations: 1 MB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2051, allocations: 12.03 kB / 0.986 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.2053, allocations: 63.62 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2054, allocations: 215.2 kB / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.2055, allocations: 35.98 kB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.2057, allocations: 71.98 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.206, allocations: 210.4 kB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.206, allocations: 3.938 kB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.206, allocations: 4 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.918e-06/0.206, allocations: 3.984 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.2062, allocations: 67.78 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/0.207, allocations: 0.8561 MB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.2073, allocations: 327.2 kB / 0.9878 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.2073, allocations: 8 kB / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005852/0.2079, allocations: 467 kB / 0.9883 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 3.595e-06/0.208, allocations: 0 / 0.9883 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001779/0.2097, allocations: 0.5537 MB / 0.9888 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.2099, allocations: 443.2 kB / 0.9892 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.2102, allocations: 288.4 kB / 0.9895 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.2104, allocations: 69.69 kB / 0.9896 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.2106, allocations: 165.2 kB / 0.9897 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.922e-05/0.2107, allocations: 86.95 kB / 0.9898 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.2108, allocations: 32 kB / 0.9899 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.2109, allocations: 366.7 kB / 0.9902 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.2121, allocations: 417.3 kB / 0.9906 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.2133, allocations: 0.695 MB / 0.9913 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.2144, allocations: 0.8298 MB / 0.9921 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.641e-06/0.2144, allocations: 0 / 0.9921 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003288/0.2177, allocations: 1.713 MB / 0.9938 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.218, allocations: 482.5 kB / 0.9942 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.218, allocations: 8 kB / 0.9942 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.218, allocations: 16 kB / 0.9942 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.2181, allocations: 31.86 kB / 0.9943 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.2182, allocations: 28.64 kB / 0.9943 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.221, allocations: 0.5664 MB / 0.9949 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.2212, allocations: 99.92 kB / 0.995 GB, free: 10.52 MB / 0.6198 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.0003619/0.2216, allocations: 225.5 kB / 0.9952 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/0.2217, allocations: 39.53 kB / 0.9952 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.996e-05/0.2218, allocations: 38.14 kB / 0.9952 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.2218, allocations: 12 kB / 0.9953 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.2218, allocations: 4 kB / 0.9953 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.2218, allocations: 7.984 kB / 0.9953 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.2222, allocations: 329.3 kB / 0.9956 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.001e-06/0.2223, allocations: 4 kB / 0.9956 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.2223, allocations: 23.92 kB / 0.9956 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.2223, allocations: 4 kB / 0.9956 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.2224, allocations: 19.98 kB / 0.9956 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.364e-06/0.2224, allocations: 7.938 kB / 0.9956 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.042e-06/0.2224, allocations: 4 kB / 0.9956 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007794/0.2232, allocations: 0.6838 MB / 0.9963 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.2233, allocations: 108.7 kB / 0.9964 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.2233, allocations: 19.98 kB / 0.9964 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.2235, allocations: 15.98 kB / 0.9964 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.519e-05/0.2236, allocations: 59.83 kB / 0.9965 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.2237, allocations: 27.98 kB / 0.9965 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001686/0.2238, allocations: 187.1 kB / 0.9967 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.2e-07/0.2239, allocations: 7.938 kB / 0.9967 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008541/0.2247, allocations: 200 kB / 0.9969 GB, free: 8.289 MB / 0.6198 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.0001734/0.2249, allocations: 131.1 kB / 0.997 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002257/0.2272, allocations: 1.749 MB / 0.9987 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.091e-06/0.2272, allocations: 0 / 0.9987 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.2275, allocations: 179.7 kB / 0.9989 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.2282, allocations: 111.6 kB / 0.999 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2293, allocations: 0.6786 MB / 0.9997 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.2295, allocations: 0.7839 MB / 1 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000157/0.2297, allocations: 42.97 kB / 1 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.2298, allocations: 39.42 kB / 1.001 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of SimCode: time 1.519e-06/0.2298, allocations: 0 / 1.001 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of Templates: time 0.02266/0.2525, allocations: 10.87 MB / 1.011 GB, free: 9.598 MB / 0.6355 GB