Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 293 MB / 309 MB, free: 4.781 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.001255/0.001255, allocations: 183.5 kB / 378.7 MB, free: 1.027 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.639/1.639, allocations: 205.4 MB / 0.6383 GB, free: 9.172 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.0007774/0.0007771, allocations: 90.69 kB / 0.7527 GB, free: 62.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003972, allocations: 20 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2607, allocations: 116.4 MB / 0.9905 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6865/0.9472, allocations: 139.4 MB / 1.127 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.9476, allocations: 75.7 kB / 1.127 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04898/0.9966, allocations: 17.42 MB / 1.144 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9966, allocations: 0 / 1.144 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.9967, allocations: 8 kB / 1.144 GB, free: 22.43 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.0009489/0.9976, allocations: 0.9957 MB / 1.145 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.9977, allocations: 13.06 kB / 1.145 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.9979, allocations: 65.97 kB / 1.145 GB, free: 21.26 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.998, allocations: 220 kB / 1.145 GB, free: 21.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.9981, allocations: 35.61 kB / 1.145 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.9983, allocations: 71.89 kB / 1.145 GB, free: 20.92 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.9986, allocations: 215.5 kB / 1.145 GB, free: 20.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.9986, allocations: 192 / 1.145 GB, free: 20.69 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.9986, allocations: 12.36 kB / 1.145 GB, free: 20.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.9986, allocations: 4 kB / 1.145 GB, free: 20.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.9987, allocations: 68.67 kB / 1.145 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.9998, allocations: 0.8462 MB / 1.146 GB, free: 19.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/1, allocations: 330.5 kB / 1.146 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/1, allocations: 134.4 kB / 1.147 GB, free: 19.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/1, allocations: 8.594 kB / 1.147 GB, free: 19.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000657/1.001, allocations: 455.5 kB / 1.147 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.773e-06/1.001, allocations: 0 / 1.147 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001026/1.002, allocations: 0.5655 MB / 1.148 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/1.002, allocations: 435.5 kB / 1.148 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/1.002, allocations: 294.3 kB / 1.148 GB, free: 17.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/1.003, allocations: 66.92 kB / 1.148 GB, free: 17.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/1.003, allocations: 161.1 kB / 1.149 GB, free: 17.42 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/1.003, allocations: 95.22 kB / 1.149 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.812e-05/1.003, allocations: 32 kB / 1.149 GB, free: 17.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.003, allocations: 356.7 kB / 1.149 GB, free: 16.96 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008297/1.004, allocations: 421.7 kB / 1.149 GB, free: 16.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008561/1.005, allocations: 0.6966 MB / 1.15 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/1.006, allocations: 1.189 MB / 1.151 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.006, allocations: 5.641 kB / 1.151 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002405/1.008, allocations: 1.715 MB / 1.153 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002039/1.008, allocations: 487.5 kB / 1.153 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.008, allocations: 8 kB / 1.153 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.008, allocations: 19.94 kB / 1.153 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/1.009, allocations: 33.5 kB / 1.153 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/1.009, allocations: 17.34 kB / 1.153 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/1.011, allocations: 0.5397 MB / 1.154 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/1.011, allocations: 101.2 kB / 1.154 GB, free: 11.73 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.0004445/1.011, allocations: 230.4 kB / 1.154 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.011, allocations: 42.09 kB / 1.154 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.674e-05/1.012, allocations: 34.89 kB / 1.154 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.012, allocations: 8 kB / 1.154 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/1.012, allocations: 8 kB / 1.154 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.012, allocations: 6.766 kB / 1.154 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/1.012, allocations: 325.5 kB / 1.155 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.012, allocations: 4 kB / 1.155 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/1.012, allocations: 20.62 kB / 1.155 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.012, allocations: 12.5 kB / 1.155 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/1.012, allocations: 16.86 kB / 1.155 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/1.012, allocations: 9.359 kB / 1.155 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.012, allocations: 7.938 kB / 1.155 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/1.013, allocations: 0.5091 MB / 1.155 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/1.013, allocations: 122.3 kB / 1.155 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/1.013, allocations: 15.52 kB / 1.155 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/1.013, allocations: 15.97 kB / 1.155 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.013, allocations: 64.8 kB / 1.155 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/1.013, allocations: 29.06 kB / 1.155 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001614/1.013, allocations: 184 kB / 1.156 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.013, allocations: 0 / 1.156 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006734/1.014, allocations: 208.5 kB / 1.156 GB, free: 9.926 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.0002329/1.014, allocations: 144 kB / 1.156 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001739/1.016, allocations: 1.741 MB / 1.158 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.016, allocations: 0 / 1.158 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/1.016, allocations: 190.8 kB / 1.158 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007693/1.017, allocations: 117.3 kB / 1.158 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009624/1.018, allocations: 0.6878 MB / 1.159 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/1.018, allocations: 0.7751 MB / 1.159 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001192/1.018, allocations: 42.12 kB / 1.159 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/1.018, allocations: 39.23 kB / 1.159 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/1.018, allocations: 0 / 1.159 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of Templates: time 0.01904/1.037, allocations: 11.1 MB / 1.17 GB, free: 12.19 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)