Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.574/1.574, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 180.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 0.6626 GB, free: 4.27 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007604/0.0007604, allocations: 104.8 kB / 0.7808 GB, free: 50.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003847, allocations: 19.92 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6582/0.6586, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.8407, allocations: 141.6 MB / 1.165 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.8411, allocations: 72.98 kB / 1.165 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04955/0.8906, allocations: 17.43 MB / 1.182 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.529e-06/0.8907, allocations: 0 / 1.182 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.8907, allocations: 7.938 kB / 1.182 GB, free: 2.984 MB / 0.7448 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.001056/0.8918, allocations: 1 MB / 1.183 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8918, allocations: 8.031 kB / 1.183 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.892, allocations: 68.55 kB / 1.183 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.8922, allocations: 212.5 kB / 1.183 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.8922, allocations: 39.73 kB / 1.183 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.8924, allocations: 68.36 kB / 1.183 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.8927, allocations: 217 kB / 1.183 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8927, allocations: 192 / 1.183 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.8927, allocations: 11.92 kB / 1.183 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.8927, allocations: 4 kB / 1.183 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.8928, allocations: 67.78 kB / 1.183 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000876/0.8937, allocations: 0.8502 MB / 1.184 GB, free: 148 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.894, allocations: 323.2 kB / 1.184 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.8942, allocations: 136.9 kB / 1.185 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.8942, allocations: 11.94 kB / 1.185 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005681/0.8948, allocations: 456.9 kB / 1.185 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 2.315e-06/0.8948, allocations: 0 / 1.185 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.0009819/0.8958, allocations: 0.5588 MB / 1.186 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002011/0.896, allocations: 447.1 kB / 1.186 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.8963, allocations: 296.2 kB / 1.186 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.8964, allocations: 69.7 kB / 1.186 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.8966, allocations: 157.3 kB / 1.187 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/0.8967, allocations: 94.89 kB / 1.187 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.8968, allocations: 36 kB / 1.187 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8969, allocations: 350.8 kB / 1.187 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008123/0.8977, allocations: 421.3 kB / 1.187 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009867/0.8987, allocations: 0.7042 MB / 1.188 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.9, allocations: 1.188 MB / 1.189 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.9, allocations: 0 / 1.189 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002511/0.9025, allocations: 1.714 MB / 1.191 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002788/0.9028, allocations: 489.4 kB / 1.191 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.9028, allocations: 12 kB / 1.191 GB, free: 7.828 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.9029, allocations: 12 kB / 1.191 GB, free: 7.816 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/0.9029, allocations: 27.86 kB / 1.191 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.903, allocations: 15.94 kB / 1.191 GB, free: 7.773 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.905, allocations: 0.5462 MB / 1.192 GB, free: 7.227 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.9052, allocations: 95.92 kB / 1.192 GB, free: 7.133 MB / 0.7605 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.0003097/0.9055, allocations: 222 kB / 1.192 GB, free: 6.906 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/0.9056, allocations: 47.45 kB / 1.192 GB, free: 6.859 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.613e-05/0.9056, allocations: 38.14 kB / 1.192 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.9056, allocations: 8 kB / 1.192 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.9057, allocations: 5.219 kB / 1.192 GB, free: 6.805 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.9057, allocations: 5.125 kB / 1.192 GB, free: 6.801 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.906, allocations: 325.4 kB / 1.193 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.9061, allocations: 8 kB / 1.193 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.9061, allocations: 23.92 kB / 1.193 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.9061, allocations: 7.938 kB / 1.193 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.9061, allocations: 19.98 kB / 1.193 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.9062, allocations: 7.984 kB / 1.193 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.9062, allocations: 11.62 kB / 1.193 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.9068, allocations: 0.5095 MB / 1.193 GB, free: 5.793 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.9069, allocations: 118.5 kB / 1.193 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.9069, allocations: 11.98 kB / 1.193 GB, free: 5.648 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.907, allocations: 19.98 kB / 1.193 GB, free: 5.629 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.9071, allocations: 64.97 kB / 1.193 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.9072, allocations: 31.98 kB / 1.193 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001517/0.9073, allocations: 191.1 kB / 1.194 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9073, allocations: 0 / 1.194 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005977/0.9079, allocations: 200 kB / 1.194 GB, free: 5.156 MB / 0.7605 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.0001812/0.9081, allocations: 139.1 kB / 1.194 GB, free: 5.008 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.91, allocations: 1.735 MB / 1.196 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.91, allocations: 4 kB / 1.196 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.9102, allocations: 181.9 kB / 1.196 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007219/0.9109, allocations: 122.2 kB / 1.196 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009039/0.9118, allocations: 0.6839 MB / 1.197 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.9122, allocations: 0.7764 MB / 1.197 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.9123, allocations: 44.7 kB / 1.197 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.9123, allocations: 39.42 kB / 1.197 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of SimCode: time 2.11e-07/0.9124, allocations: 0 / 1.197 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of Templates: time 0.01722/0.9296, allocations: 11.08 MB / 1.208 GB, free: 6.477 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)