Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.58/5.58, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 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.002614/0.002614, allocations: 357.9 kB / 0.6447 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.641/4.641, allocations: 410.7 MB / 1.113 GB, free: 5.91 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.001857/0.001857, allocations: 185.1 kB / 1.226 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005202/0.0005204, allocations: 12 kB / 1.349 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7722, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001169/0.7734, allocations: 0.66 MB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.7755, allocations: 1.334 MB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.7756, allocations: 1.375 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.7756, allocations: 7.875 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.7758, allocations: 44.38 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.7772, allocations: 374.3 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.7776, allocations: 387.1 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.7778, allocations: 41.34 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.7779, allocations: 140.3 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.7781, allocations: 119.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.7782, allocations: 16.72 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.7784, allocations: 35.98 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.7784, allocations: 26.48 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.89e-05/0.7785, allocations: 69.58 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.779, allocations: 381.1 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.779, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.733e-06/0.779, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.779, allocations: 0 / 1.465 GB, free: 280.7 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007407/0.7798, allocations: 0.5614 MB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.7798, allocations: 11.62 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.78, allocations: 35.67 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.7802, allocations: 209.9 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.7802, allocations: 17.02 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.823e-05/0.7803, allocations: 24 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.7806, allocations: 130.4 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.7806, allocations: 0 / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.7807, allocations: 0 / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.7807, allocations: 8.047 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.7809, allocations: 59.86 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.782, allocations: 0.8747 MB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.7822, allocations: 117 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.7823, allocations: 56.86 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.7823, allocations: 0.5938 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00035/0.7827, allocations: 178 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.995e-06/0.7827, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.000688/0.7834, allocations: 224.1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.7835, allocations: 141.1 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.7838, allocations: 237.9 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.427e-05/0.7839, allocations: 37.7 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.784, allocations: 133 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.7841, allocations: 40.3 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.7841, allocations: 4 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.7842, allocations: 339.3 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.7847, allocations: 141.5 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.7852, allocations: 229.6 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.7857, allocations: 257.3 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.7857, allocations: 3.953 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002162/0.7879, allocations: 0.5523 MB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.955e-05/0.788, allocations: 134.8 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.7881, allocations: 4 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.7881, allocations: 4.875 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.7882, allocations: 15.92 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.7883, allocations: 4 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.7898, allocations: 169.7 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/0.7899, allocations: 23.98 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002317/0.7901, allocations: 157.3 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.7902, allocations: 23.67 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.7902, allocations: 17.78 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.7903, allocations: 9.141 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.7903, allocations: 0 / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.7903, allocations: 88.92 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.7904, allocations: 11.55 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.7905, allocations: 8 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.7905, allocations: 18.23 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004917/0.791, allocations: 475.3 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000425/0.7915, allocations: 0.5539 MB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001348/0.7916, allocations: 68.56 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001844/0.7918, allocations: 164.5 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of Backend: time 9.12e-07/0.7918, allocations: 1.312 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.7934, allocations: 0.5721 MB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001137/0.7946, allocations: 0.8123 MB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.01111/0.8057, allocations: 4.267 MB / 1.477 GB, free: 268.3 MB / 0.8542 GB