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 4.942/4.942, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.002399/0.002399, allocations: 358.7 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.13/4.13, allocations: 410.7 MB / 1.112 GB, free: 6.012 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.00178/0.00178, allocations: 187.6 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005213/0.0005217, allocations: 12 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5903/0.5908, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.00106/0.592, allocations: 0.852 MB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.5942, allocations: 1.868 MB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.5944, allocations: 4 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.5945, allocations: 15.8 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.5947, allocations: 72.61 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.5983, allocations: 1.276 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008819/0.5992, allocations: 0.9244 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.5993, allocations: 20.41 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006296/0.6, allocations: 415.3 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.6004, allocations: 331 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.6006, allocations: 60 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.6008, allocations: 72.77 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.6009, allocations: 55.81 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.6011, allocations: 122.1 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005844/0.6017, allocations: 0.6644 MB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.148e-06/0.6017, allocations: 1.531 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.161e-06/0.6017, allocations: 0 / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.162e-06/0.6017, allocations: 0 / 1.467 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.0008448/0.6026, allocations: 0.9906 MB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6026, allocations: 19.61 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.6029, allocations: 71.56 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.603, allocations: 212.5 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/0.6031, allocations: 35.98 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003533/0.6035, allocations: 68.7 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.604, allocations: 214.7 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.604, allocations: 0 / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.6041, allocations: 17.61 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.6041, allocations: 4 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.6044, allocations: 67.72 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.606, allocations: 0.8473 MB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.6064, allocations: 322.9 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.6067, allocations: 139.7 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.6068, allocations: 7.938 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009865/0.6078, allocations: 466.7 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=45): time 6.031e-06/0.6078, allocations: 0 / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45): time 0.002375/0.6102, allocations: 0.5581 MB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.6104, allocations: 436.6 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.6109, allocations: 289.2 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003064/0.6112, allocations: 73.62 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.6116, allocations: 157.9 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.6118, allocations: 95.69 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.612, allocations: 36 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6122, allocations: 359.7 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.6143, allocations: 417.3 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.6167, allocations: 0.7051 MB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.6189, allocations: 0.818 MB / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.6189, allocations: 0.625 kB / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005464/0.6244, allocations: 1.714 MB / 1.476 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.6246, allocations: 482 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.6247, allocations: 12.62 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.6247, allocations: 12 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.6248, allocations: 36.83 kB / 1.477 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.6248, allocations: 23.92 kB / 1.477 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/0.6279, allocations: 0.5625 MB / 1.477 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.6281, allocations: 95.92 kB / 1.477 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.0003796/0.6285, allocations: 224.4 kB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.64e-05/0.6286, allocations: 40.69 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.555e-05/0.6287, allocations: 39.05 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.132e-06/0.6288, allocations: 8 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.6288, allocations: 4.531 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6288, allocations: 7.984 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.6292, allocations: 339.3 kB / 1.478 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.6292, allocations: 8 kB / 1.478 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.6293, allocations: 19.92 kB / 1.478 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.506e-06/0.6293, allocations: 7.938 kB / 1.478 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.6293, allocations: 23.98 kB / 1.478 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.6293, allocations: 4.938 kB / 1.478 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.6293, allocations: 5.125 kB / 1.478 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007098/0.6301, allocations: 0.516 MB / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.6301, allocations: 112.6 kB / 1.479 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.6302, allocations: 17.7 kB / 1.479 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.6304, allocations: 15.98 kB / 1.479 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.6305, allocations: 61.3 kB / 1.479 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.6306, allocations: 31.98 kB / 1.479 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001636/0.6307, allocations: 183.9 kB / 1.479 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.42e-07/0.6308, allocations: 0 / 1.479 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000927/0.6317, allocations: 200.7 kB / 1.479 GB, free: 264.4 MB / 0.8542 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.0001717/0.6319, allocations: 133 kB / 1.479 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002269/0.6342, allocations: 1.75 MB / 1.481 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.071e-06/0.6342, allocations: 1.625 kB / 1.481 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.6346, allocations: 190.3 kB / 1.481 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/0.6356, allocations: 114 kB / 1.481 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.6367, allocations: 0.6873 MB / 1.482 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.637, allocations: 0.792 MB / 1.483 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000177/0.6372, allocations: 43.44 kB / 1.483 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.6372, allocations: 35.42 kB / 1.483 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.819e-06/0.6373, allocations: 4 kB / 1.483 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01948/0.6567, allocations: 10.87 MB / 1.493 GB, free: 250 MB / 0.8542 GB