Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 179.7 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 0.6383 GB, free: 8.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008127/0.0008127, allocations: 91.48 kB / 0.7527 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 12 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2498, allocations: 116.4 MB / 0.9905 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7312/0.9811, allocations: 139.4 MB / 1.127 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.9814, allocations: 75.11 kB / 1.127 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0465/1.028, allocations: 17.42 MB / 1.144 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.727e-06/1.028, allocations: 0.5625 kB / 1.144 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.028, allocations: 4 kB / 1.144 GB, free: 22.35 MB / 0.7292 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.0008284/1.029, allocations: 1.008 MB / 1.145 GB, free: 21.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.029, allocations: 12.03 kB / 1.145 GB, free: 21.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/1.029, allocations: 66.02 kB / 1.145 GB, free: 21.17 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/1.029, allocations: 215.5 kB / 1.145 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/1.029, allocations: 35.98 kB / 1.145 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/1.029, allocations: 72.22 kB / 1.145 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/1.03, allocations: 210.5 kB / 1.145 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.03, allocations: 0.7969 kB / 1.145 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/1.03, allocations: 14.55 kB / 1.145 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/1.03, allocations: 5 kB / 1.145 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/1.03, allocations: 72.66 kB / 1.145 GB, free: 20.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/1.031, allocations: 0.8429 MB / 1.146 GB, free: 19.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/1.031, allocations: 325.8 kB / 1.146 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/1.031, allocations: 134.4 kB / 1.147 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/1.031, allocations: 12.64 kB / 1.147 GB, free: 19.26 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005091/1.032, allocations: 456.2 kB / 1.147 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.525e-06/1.032, allocations: 4 kB / 1.147 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0008465/1.032, allocations: 0.5659 MB / 1.148 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/1.033, allocations: 431.5 kB / 1.148 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/1.033, allocations: 294.4 kB / 1.148 GB, free: 17.56 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/1.033, allocations: 66.88 kB / 1.148 GB, free: 17.49 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.033, allocations: 161.9 kB / 1.149 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/1.033, allocations: 98.38 kB / 1.149 GB, free: 17.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.033, allocations: 32 kB / 1.149 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/1.033, allocations: 352.3 kB / 1.149 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/1.034, allocations: 422.3 kB / 1.149 GB, free: 16.53 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/1.035, allocations: 0.6959 MB / 1.15 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009506/1.036, allocations: 1.194 MB / 1.151 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.036, allocations: 4 kB / 1.151 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002255/1.038, allocations: 1.716 MB / 1.153 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001848/1.038, allocations: 486.3 kB / 1.153 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.038, allocations: 8 kB / 1.153 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.038, allocations: 13.06 kB / 1.153 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.425e-05/1.038, allocations: 36.84 kB / 1.153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/1.038, allocations: 21.62 kB / 1.153 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/1.041, allocations: 0.5408 MB / 1.154 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/1.041, allocations: 100.9 kB / 1.154 GB, free: 11.64 MB / 0.7292 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.0003177/1.041, allocations: 219.2 kB / 1.154 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/1.041, allocations: 45.58 kB / 1.154 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.761e-05/1.041, allocations: 38.8 kB / 1.154 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.041, allocations: 8 kB / 1.154 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.041, allocations: 4 kB / 1.154 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.041, allocations: 6.766 kB / 1.154 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/1.042, allocations: 325.6 kB / 1.155 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.042, allocations: 4 kB / 1.155 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/1.042, allocations: 20.11 kB / 1.155 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.042, allocations: 13.06 kB / 1.155 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/1.042, allocations: 17.25 kB / 1.155 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.042, allocations: 4.656 kB / 1.155 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.042, allocations: 12.5 kB / 1.155 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/1.042, allocations: 0.509 MB / 1.155 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/1.042, allocations: 118 kB / 1.155 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/1.042, allocations: 16.22 kB / 1.155 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/1.042, allocations: 15.52 kB / 1.155 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/1.042, allocations: 68.12 kB / 1.155 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/1.043, allocations: 29.09 kB / 1.155 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000119/1.043, allocations: 183.7 kB / 1.156 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.81e-07/1.043, allocations: 1.031 kB / 1.156 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006075/1.043, allocations: 205.4 kB / 1.156 GB, free: 9.848 MB / 0.7292 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.0001695/1.043, allocations: 143.4 kB / 1.156 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001594/1.045, allocations: 1.74 MB / 1.158 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.045, allocations: 0 / 1.158 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/1.045, allocations: 187.8 kB / 1.158 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007281/1.046, allocations: 112.9 kB / 1.158 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/1.047, allocations: 0.6905 MB / 1.159 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/1.047, allocations: 0.7745 MB / 1.159 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001097/1.047, allocations: 50.16 kB / 1.159 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/1.047, allocations: 35.19 kB / 1.16 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.047, allocations: 0 / 1.16 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of Templates: time 0.01693/1.064, allocations: 11.08 MB / 1.17 GB, free: 12.04 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)