Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.646/2.646, allocations: 287.9 MB / 302.9 MB, free: 8.254 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.001481/0.001481, allocations: 185.5 kB / 371.4 MB, free: 10.67 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.249/2.249, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001756/0.001756, allocations: 86.88 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009661/0.0009662, allocations: 12.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.163, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.001706/0.1648, allocations: 0.8259 MB / 0.9796 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00425/0.1691, allocations: 1.893 MB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.1694, allocations: 4 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.611e-05/0.1694, allocations: 11.86 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.1699, allocations: 99.73 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007347/0.1772, allocations: 1.275 MB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.1786, allocations: 0.5811 MB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1788, allocations: 20.75 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007984/0.1796, allocations: 419.3 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.1802, allocations: 331 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003126/0.1805, allocations: 60 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.1809, allocations: 68 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.181, allocations: 55.81 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.1813, allocations: 121.6 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.1825, allocations: 0.6703 MB / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.563e-06/0.1825, allocations: 0 / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.387e-06/0.1826, allocations: 0 / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.1826, allocations: 0 / 0.985 GB, free: 21.78 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.001383/0.184, allocations: 1.004 MB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.1841, allocations: 12.02 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.1845, allocations: 63.62 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1847, allocations: 219.2 kB / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/0.1848, allocations: 35.98 kB / 0.9863 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003525/0.1852, allocations: 67.98 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.1857, allocations: 208.4 kB / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1857, allocations: 3.938 kB / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.1858, allocations: 7.984 kB / 0.9866 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1858, allocations: 0 / 0.9866 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.1861, allocations: 67.78 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.1878, allocations: 0.8561 MB / 0.9875 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.1882, allocations: 323.1 kB / 0.9878 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1883, allocations: 8.109 kB / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.1893, allocations: 467 kB / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 6.288e-06/0.1893, allocations: 0 / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.002589/0.192, allocations: 0.5578 MB / 0.9888 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002142/0.1922, allocations: 435.2 kB / 0.9892 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/0.193, allocations: 288.4 kB / 0.9895 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005599/0.1936, allocations: 65.7 kB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/0.1941, allocations: 169.2 kB / 0.9897 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.1944, allocations: 90.94 kB / 0.9898 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/0.1948, allocations: 36 kB / 0.9899 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.195, allocations: 358.7 kB / 0.9902 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00312/0.1981, allocations: 421.3 kB / 0.9906 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/0.2017, allocations: 0.695 MB / 0.9913 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/0.2044, allocations: 0.8217 MB / 0.9921 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.302e-06/0.2044, allocations: 4 kB / 0.9921 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00331/0.2078, allocations: 1.717 MB / 0.9938 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.208, allocations: 482.7 kB / 0.9942 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.208, allocations: 15.94 kB / 0.9942 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/0.2081, allocations: 20.06 kB / 0.9943 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.2081, allocations: 31.86 kB / 0.9943 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.2082, allocations: 15.94 kB / 0.9943 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.2109, allocations: 0.57 MB / 0.9949 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.2112, allocations: 99.86 kB / 0.995 GB, free: 10.55 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.0003585/0.2116, allocations: 221.5 kB / 0.9952 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/0.2117, allocations: 47.52 kB / 0.9952 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.677e-05/0.2118, allocations: 38.14 kB / 0.9952 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.545e-06/0.2118, allocations: 8 kB / 0.9953 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.2118, allocations: 4 kB / 0.9953 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.2118, allocations: 7.984 kB / 0.9953 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.2122, allocations: 333.3 kB / 0.9956 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.647e-06/0.2122, allocations: 4 kB / 0.9956 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.2123, allocations: 19.92 kB / 0.9956 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.2123, allocations: 4 kB / 0.9956 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.2123, allocations: 27.98 kB / 0.9956 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.548e-06/0.2124, allocations: 7.938 kB / 0.9956 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.185e-06/0.2124, allocations: 4 kB / 0.9956 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.2131, allocations: 0.6799 MB / 0.9963 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.2132, allocations: 104.7 kB / 0.9964 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.147e-05/0.2133, allocations: 19.97 kB / 0.9964 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.2135, allocations: 19.98 kB / 0.9964 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.816e-05/0.2136, allocations: 59.83 kB / 0.9965 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.2136, allocations: 31.98 kB / 0.9965 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001655/0.2138, allocations: 183.1 kB / 0.9967 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.86e-07/0.2138, allocations: 0 / 0.9967 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000939/0.2148, allocations: 196 kB / 0.9969 GB, free: 8.324 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.2149, allocations: 139.1 kB / 0.997 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.2172, allocations: 1.746 MB / 0.9987 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.162e-06/0.2173, allocations: 0 / 0.9987 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.2176, allocations: 180.2 kB / 0.9989 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.2183, allocations: 112.9 kB / 0.999 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.2194, allocations: 0.6761 MB / 0.9997 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.2197, allocations: 0.7917 MB / 1 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.2198, allocations: 46.95 kB / 1 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.2199, allocations: 35.42 kB / 1.001 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of SimCode: time 1.438e-06/0.2199, allocations: 0 / 1.001 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of Templates: time 0.0224/0.2423, allocations: 10.87 MB / 1.011 GB, free: 9.633 MB / 0.6355 GB