Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.373/5.373, allocations: 0.5623 GB / 0.5776 GB, free: 3.371 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.002488/0.002488, allocations: 360.1 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.374/4.374, allocations: 410.7 MB / 1.113 GB, free: 5.957 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.001852/0.001852, allocations: 172.2 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005286/0.0005289, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8317/0.8323, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001354/0.8337, allocations: 0.8431 MB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002992/0.8367, allocations: 1.872 MB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.8369, allocations: 0.7188 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.8369, allocations: 20.77 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.8372, allocations: 72.48 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004519/0.8417, allocations: 1.276 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.8428, allocations: 0.9277 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.8429, allocations: 20.31 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005064/0.8434, allocations: 423.2 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.8439, allocations: 323.1 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.8441, allocations: 60 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.8444, allocations: 72.48 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.8444, allocations: 56.31 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.8447, allocations: 125.6 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007788/0.8454, allocations: 0.661 MB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8455, allocations: 1.469 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8455, allocations: 0 / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.8455, allocations: 0 / 1.468 GB, free: 277.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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001079/0.8466, allocations: 0.9967 MB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.8466, allocations: 11.62 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.8469, allocations: 64.38 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.8471, allocations: 215.3 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.8472, allocations: 40.42 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.8474, allocations: 65.17 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.8478, allocations: 222.3 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.8478, allocations: 8.781 kB / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.8478, allocations: 4.969 kB / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.8479, allocations: 4.594 kB / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.848, allocations: 72.56 kB / 1.47 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.8491, allocations: 0.8427 MB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.8494, allocations: 321 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.8496, allocations: 144.7 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.8497, allocations: 7.344 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007222/0.8504, allocations: 466.6 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=45): time 3.266e-06/0.8504, allocations: 1.062 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45): time 0.002399/0.8528, allocations: 0.5541 MB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.853, allocations: 437.1 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.8534, allocations: 292.3 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003472/0.8537, allocations: 66.66 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.854, allocations: 161.3 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.8541, allocations: 97.2 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.8543, allocations: 32 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.8544, allocations: 358.7 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.8558, allocations: 417.3 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.8573, allocations: 0.7036 MB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.8588, allocations: 0.8207 MB / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.8588, allocations: 0 / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004176/0.863, allocations: 1.718 MB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002402/0.8633, allocations: 481.4 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.8633, allocations: 12 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/0.8633, allocations: 15.09 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.8634, allocations: 31.86 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.8635, allocations: 23.92 kB / 1.477 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004754/0.8682, allocations: 0.5614 MB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004837/0.8688, allocations: 99.86 kB / 1.478 GB, free: 266.4 MB / 0.8542 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.0005033/0.8693, allocations: 220.3 kB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.8694, allocations: 43.53 kB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.791e-05/0.8695, allocations: 42.08 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.8695, allocations: 12.16 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.8696, allocations: 4 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.8696, allocations: 112.6 kB / 1.478 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.8697, allocations: 15.98 kB / 1.478 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.8699, allocations: 15.98 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.8701, allocations: 61.95 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001191/0.8713, allocations: 1.563 MB / 1.48 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001165/0.8724, allocations: 1.613 MB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003129/0.8728, allocations: 164.8 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002005/0.873, allocations: 184.4 kB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of Backend: time 1.222e-06/0.873, allocations: 0 / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004445/0.8775, allocations: 1.741 MB / 1.484 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001942/0.8795, allocations: 1.029 MB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.02995/0.9095, allocations: 10.89 MB / 1.495 GB, free: 248.9 MB / 0.8542 GB