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 5.064/5.064, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 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.002362/0.002361, allocations: 362.2 kB / 0.644 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.739/4.739, allocations: 410.7 MB / 1.112 GB, free: 5.965 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.001768/0.001768, allocations: 189.9 kB / 1.225 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004942, allocations: 16 kB / 1.348 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.624/0.6245, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0008378/0.6254, allocations: 454.5 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.6267, allocations: 1.093 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.6268, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.6268, allocations: 0.75 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.6269, allocations: 7.922 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.6274, allocations: 111 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.6275, allocations: 103.7 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.454e-05/0.6276, allocations: 5.031 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.6276, allocations: 39.91 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.6277, allocations: 32.98 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.6277, allocations: 4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.391e-05/0.6278, allocations: 20.64 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.6278, allocations: 7.938 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.6279, allocations: 34.7 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.628, allocations: 99.55 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.113e-06/0.628, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.221e-06/0.6281, allocations: 1.094 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.586e-06/0.6281, allocations: 0 / 1.463 GB, free: 282.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003604/0.6284, allocations: 381.2 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.6285, allocations: 11.62 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.6285, allocations: 11.91 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6287, allocations: 171 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.6287, allocations: 11.98 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.6287, allocations: 6.344 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.221e-05/0.6288, allocations: 43.05 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.754e-06/0.6289, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.6289, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-06/0.6289, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.6289, allocations: 12 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.6293, allocations: 334.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.488e-05/0.6294, allocations: 33 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.6295, allocations: 14 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.6295, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.6296, allocations: 68.89 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.6297, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.000213/0.6299, allocations: 77.59 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.6299, allocations: 51.41 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.63, allocations: 131.7 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.6301, allocations: 33.7 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.6301, allocations: 92.08 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.6302, allocations: 11.83 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.6302, allocations: 4.5 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.6302, allocations: 315.4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.6304, allocations: 32.48 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.6305, allocations: 64.89 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.6306, allocations: 62.2 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-06/0.6306, allocations: 0.75 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003284/0.631, allocations: 163.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.631, allocations: 41.3 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.956e-06/0.631, allocations: 5.219 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.631, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.6311, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.202e-06/0.6312, allocations: 4.906 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.6316, allocations: 42.22 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.6316, allocations: 8 kB / 1.465 GB, free: 279.9 MB / 0.8542 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 0.0001272/0.6318, allocations: 122.7 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.6318, allocations: 7.906 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.6319, allocations: 8.922 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.419e-06/0.6319, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.632, allocations: 64 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.632, allocations: 6.828 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.6322, allocations: 177.6 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-06/0.6323, allocations: 3.938 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.6323, allocations: 8.641 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.448e-06/0.6324, allocations: 6.625 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.6324, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.202e-06/0.6324, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.689e-06/0.6324, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.6327, allocations: 84.98 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.6328, allocations: 86.08 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.6328, allocations: 3.984 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.6329, allocations: 0.625 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.633, allocations: 4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.633, allocations: 5.625 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001223/0.6332, allocations: 100.1 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.268e-06/0.6332, allocations: 0 / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007237/0.6339, allocations: 16 kB / 1.465 GB, free: 279.2 MB / 0.8542 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.0002399/0.6342, allocations: 112.7 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005259/0.6347, allocations: 135.9 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.6348, allocations: 1.094 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.451e-05/0.6349, allocations: 16.59 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.6355, allocations: 23.09 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.6361, allocations: 156.4 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.6363, allocations: 0.6893 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.065e-05/0.6364, allocations: 4.172 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.6365, allocations: 12.03 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of SimCode: time 2.318e-06/0.6365, allocations: 0.8438 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of Templates: time 0.007957/0.6445, allocations: 1.242 MB / 1.468 GB, free: 276.8 MB / 0.8542 GB