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.552/2.552, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001543/0.001543, allocations: 176.7 kB / 325.6 MB, free: 2.836 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.59/2.59, 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.001116/0.001116, allocations: 101.4 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004948, allocations: 14.28 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2168, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001523/0.2184, allocations: 0.9967 MB / 0.8999 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004341/0.2189, allocations: 182.4 kB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.2189, allocations: 0 / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.2189, allocations: 0 / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.219, allocations: 4 kB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.2192, allocations: 11.94 kB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.919e-05/0.2192, allocations: 15.97 kB / 0.9001 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.2193, allocations: 7.938 kB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.2193, allocations: 3.984 kB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.2194, allocations: 19.86 kB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.2194, allocations: 0 / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.2195, allocations: 4 kB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.2195, allocations: 0 / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.2195, allocations: 25.7 kB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.648e-05/0.2196, allocations: 19.97 kB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2196, allocations: 0 / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2196, allocations: 0 / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2196, allocations: 0 / 0.9002 GB, free: 64.17 MB / 0.6042 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.0004536/0.2201, allocations: 335.3 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2201, allocations: 12.03 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.2202, allocations: 0 / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2203, allocations: 167.3 kB / 0.9007 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.2203, allocations: 8 kB / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.2203, allocations: 0 / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.508e-05/0.2204, allocations: 37.62 kB / 0.9007 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2205, allocations: 0 / 0.9007 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.2205, allocations: 0 / 0.9007 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2205, allocations: 0 / 0.9007 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.517e-05/0.2205, allocations: 8 kB / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.2207, allocations: 165.5 kB / 0.9009 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.652e-05/0.2208, allocations: 30.61 kB / 0.9009 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.2208, allocations: 0 / 0.9009 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.2209, allocations: 59.31 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.221, allocations: 0 / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001804/0.2211, allocations: 49.69 kB / 0.901 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.2212, allocations: 55.39 kB / 0.901 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.2213, allocations: 97.86 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.2213, allocations: 33.7 kB / 0.9012 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.2213, allocations: 84.14 kB / 0.9013 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.2214, allocations: 3.906 kB / 0.9013 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2214, allocations: 0 / 0.9013 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.2214, allocations: 326.8 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.2215, allocations: 3.938 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.2215, allocations: 25.66 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.2216, allocations: 8.469 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2216, allocations: 0 / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.344e-05/0.2217, allocations: 53.62 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2217, allocations: 4 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2217, allocations: 4 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2217, allocations: 4.031 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.2218, allocations: 3.984 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2218, allocations: 7.938 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.19e-05/0.2219, allocations: 4 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-06/0.2219, allocations: 4.031 kB / 0.9017 GB, free: 62.39 MB / 0.6042 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 6.756e-05/0.222, allocations: 113.8 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.222, allocations: 7.984 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.2221, allocations: 11.5 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2221, allocations: 0 / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2221, allocations: 0 / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2221, allocations: 0 / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.2222, allocations: 161.6 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2222, allocations: 0 / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.2223, allocations: 4 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2223, allocations: 0 / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.2223, allocations: 7.984 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2223, allocations: 0 / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2223, allocations: 0 / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.2224, allocations: 76.97 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.2225, allocations: 85.06 kB / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2225, allocations: 0 / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.2226, allocations: 11.98 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.2226, allocations: 4 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.2226, allocations: 0 / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.2227, allocations: 87.27 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2227, allocations: 0 / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002634/0.223, allocations: 4 kB / 0.9022 GB, free: 61.72 MB / 0.6042 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.0001117/0.2231, allocations: 95.25 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.2232, allocations: 27.92 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2232, allocations: 0 / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.2233, allocations: 15.94 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.2235, allocations: 6.062 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.2238, allocations: 114.7 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.2239, allocations: 0.677 MB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.224, allocations: 8.312 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.224, allocations: 7.438 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of SimCode: time 7.21e-07/0.224, allocations: 3.938 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.002861/0.2269, allocations: 444.8 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB