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 4.943/4.943, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 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.002436/0.002435, allocations: 362.3 kB / 0.6446 GB, free: 185.7 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.143/4.143, 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.001774/0.001774, allocations: 193.5 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006679/0.0006684, allocations: 12 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7348/0.7355, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.9591, allocations: 138.1 MB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.9595, allocations: 79.95 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02748/0.987, allocations: 6.194 MB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.664e-06/0.987, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.987, allocations: 4 kB / 1.602 GB, free: 140 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.0006646/0.9877, allocations: 0.5814 MB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.9877, allocations: 11.62 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.9879, allocations: 31.72 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.9881, allocations: 211.5 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.9881, allocations: 19.98 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.203e-05/0.9882, allocations: 20.44 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.9885, allocations: 122.5 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.9885, allocations: 1.062 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.9885, allocations: 8 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.9885, allocations: 0.9688 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.9887, allocations: 55.91 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.9897, allocations: 0.8773 MB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.9899, allocations: 119.8 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.668e-05/0.9901, allocations: 56.95 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.9901, allocations: 2.109 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.9904, allocations: 175.7 kB / 1.605 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.9904, allocations: 0 / 1.605 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0006034/0.991, allocations: 225.2 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.9911, allocations: 136.5 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.9914, allocations: 244.9 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-05/0.9915, allocations: 37.7 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.9916, allocations: 121 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.9916, allocations: 44.09 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.9917, allocations: 8.781 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.916e-05/0.9918, allocations: 331.4 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/0.9922, allocations: 144.7 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.9927, allocations: 233.3 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.9932, allocations: 250.2 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.9932, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001297/0.9945, allocations: 0.5535 MB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.635e-05/0.9946, allocations: 139.4 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.9946, allocations: 4 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9947, allocations: 4.594 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.9948, allocations: 22.48 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.9948, allocations: 4 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.996, allocations: 139.9 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/0.9961, allocations: 27.98 kB / 1.607 GB, free: 134.7 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.0001956/0.9963, allocations: 153.7 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.9963, allocations: 30.42 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.9964, allocations: 25.17 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.9964, allocations: 4 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9964, allocations: 0 / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.9965, allocations: 0 / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.9967, allocations: 261.5 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.9967, allocations: 0 / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.576e-05/0.9968, allocations: 17.52 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.9968, allocations: 8.5 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.9969, allocations: 7.953 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.9969, allocations: 0 / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9969, allocations: 0 / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.9973, allocations: 222.8 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.9973, allocations: 94.58 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.9974, allocations: 7.984 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.9975, allocations: 7.953 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.9975, allocations: 15.98 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.9976, allocations: 9.266 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001724/0.9977, allocations: 164.5 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9978, allocations: 0 / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004417/0.9982, allocations: 76.58 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001643/0.9984, allocations: 112.9 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009025/0.9993, allocations: 0.5341 MB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.9993, allocations: 0 / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.9995, allocations: 64.58 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/1, allocations: 60.03 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/1.001, allocations: 378.5 kB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/1.001, allocations: 0.7379 MB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.087e-05/1.001, allocations: 18.77 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/1.001, allocations: 15.44 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/1.001, allocations: 5.125 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01027/1.012, allocations: 4.169 MB / 1.614 GB, free: 127.6 MB / 0.8542 GB