Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.573/2.573, allocations: 287.9 MB / 302.9 MB, free: 8.348 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.001495/0.001495, allocations: 175 kB / 371.4 MB, free: 10.68 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.022/2.022, allocations: 205.4 MB / 0.6301 GB, free: 10.32 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.001025/0.001024, allocations: 88.38 kB / 0.7434 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004683, allocations: 17.73 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1619, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0007815/0.1627, allocations: 449.6 kB / 0.9792 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1639, allocations: 1.095 MB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.164, allocations: 0 / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.164, allocations: 3.938 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.1641, allocations: 11.98 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.1645, allocations: 107.6 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.492e-05/0.1646, allocations: 55.94 kB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.1647, allocations: 15.92 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.225e-05/0.1648, allocations: 35.91 kB / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.236e-05/0.1649, allocations: 35.89 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1649, allocations: 4 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.025e-05/0.165, allocations: 11.98 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.165, allocations: 15.92 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.1651, allocations: 33.7 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1652, allocations: 95.98 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.482e-06/0.1652, allocations: 0 / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.7e-06/0.1652, allocations: 0 / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.877e-06/0.1652, allocations: 0 / 0.9807 GB, free: 26.19 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003436/0.1656, allocations: 385.9 kB / 0.9811 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1656, allocations: 8.031 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.1657, allocations: 4 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.512e-05/0.1658, allocations: 182.9 kB / 0.9812 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1658, allocations: 0 / 0.9812 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.1659, allocations: 15.92 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.688e-05/0.166, allocations: 37.69 kB / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.643e-06/0.166, allocations: 0 / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-06/0.166, allocations: 4 kB / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.166, allocations: 4 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.1661, allocations: 8 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.1665, allocations: 332.8 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.1665, allocations: 30.52 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.1666, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.1667, allocations: 71.44 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.719e-06/0.1667, allocations: 0 / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002085/0.167, allocations: 81.66 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.167, allocations: 51.41 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.1671, allocations: 141.7 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1671, allocations: 25.7 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.1672, allocations: 92.14 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.1672, allocations: 7.906 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.1673, allocations: 8 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.202e-05/0.1673, allocations: 322.8 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1674, allocations: 35.98 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1676, allocations: 50.56 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1677, allocations: 65.69 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1677, allocations: 0 / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003285/0.168, allocations: 167.2 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.453e-05/0.1681, allocations: 37.69 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.368e-06/0.1681, allocations: 0 / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1681, allocations: 0 / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.338e-05/0.1682, allocations: 11.94 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.084e-06/0.1682, allocations: 0 / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.1684, allocations: 40.03 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.1685, allocations: 11.94 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 7.943e-05/0.1686, allocations: 113.8 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.1686, allocations: 7.969 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.1686, allocations: 7.906 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.1687, allocations: 4 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.975e-06/0.1687, allocations: 0 / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1687, allocations: 0 / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.1688, allocations: 185.6 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1688, allocations: 0 / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.1688, allocations: 4 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.187e-06/0.1689, allocations: 0 / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.1689, allocations: 0 / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.343e-06/0.1689, allocations: 0 / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.585e-06/0.1689, allocations: 4 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1691, allocations: 96.91 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.1691, allocations: 81.05 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1691, allocations: 11.94 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.836e-05/0.1692, allocations: 0 / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.1692, allocations: 3.984 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-06/0.1692, allocations: 4 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.465e-05/0.1693, allocations: 99.27 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.91e-07/0.1693, allocations: 0 / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000284/0.1696, allocations: 16 kB / 0.9834 GB, free: 23.03 MB / 0.6198 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,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001364/0.1698, allocations: 107.3 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.17, allocations: 139.3 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.049e-06/0.17, allocations: 0 / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.593e-05/0.1701, allocations: 23.94 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.1703, allocations: 11.94 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.1706, allocations: 155 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.1708, allocations: 0.6887 MB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.1708, allocations: 4.188 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.1708, allocations: 11.38 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of SimCode: time 1.242e-06/0.1708, allocations: 4 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.003987/0.1748, allocations: 1.229 MB / 0.9857 GB, free: 20.61 MB / 0.6198 GB