Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.662/1.662, allocations: 297.8 MB / 313.7 MB, free: 132 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.0009561/0.0009561, allocations: 190.7 kB / 384.6 MB, free: 10.87 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.282/1.282, allocations: 223.2 MB / 0.6626 GB, free: 4.344 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.0007358/0.0007359, allocations: 102.8 kB / 0.7808 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 12 kB / 0.9088 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/0.6154, allocations: 120.3 MB / 1.026 GB, free: 56.81 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.7912, allocations: 141.6 MB / 1.165 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.7915, allocations: 73.5 kB / 1.165 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04907/0.8406, allocations: 17.43 MB / 1.182 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8406, allocations: 0 / 1.182 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.8406, allocations: 4 kB / 1.182 GB, free: 15.22 MB / 0.7605 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.001002/0.8416, allocations: 0.9887 MB / 1.183 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.8417, allocations: 12.03 kB / 1.183 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.8419, allocations: 68.55 kB / 1.183 GB, free: 14 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.8421, allocations: 212.5 kB / 1.183 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.8421, allocations: 44.36 kB / 1.183 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.8423, allocations: 68.3 kB / 1.183 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.8425, allocations: 211.7 kB / 1.183 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.8426, allocations: 192 / 1.183 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.8426, allocations: 11.92 kB / 1.183 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.8426, allocations: 4 kB / 1.183 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.8427, allocations: 75.72 kB / 1.183 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/0.8436, allocations: 0.8366 MB / 1.184 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.8439, allocations: 335.2 kB / 1.184 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.844, allocations: 128.9 kB / 1.185 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.844, allocations: 11.94 kB / 1.185 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005425/0.8446, allocations: 467.4 kB / 1.185 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 1.663e-06/0.8446, allocations: 0 / 1.185 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.0009288/0.8455, allocations: 0.5617 MB / 1.186 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.8457, allocations: 439.2 kB / 1.186 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.846, allocations: 296.2 kB / 1.186 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.8461, allocations: 65.7 kB / 1.186 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.8463, allocations: 157.3 kB / 1.187 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.8464, allocations: 94.89 kB / 1.187 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.8465, allocations: 40 kB / 1.187 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8467, allocations: 350.8 kB / 1.187 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008024/0.8475, allocations: 421.3 kB / 1.187 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009386/0.8484, allocations: 0.6989 MB / 1.188 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.8497, allocations: 1.195 MB / 1.189 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.8497, allocations: 0 / 1.189 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002593/0.8523, allocations: 1.713 MB / 1.191 GB, free: 4.609 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002939/0.8526, allocations: 485.4 kB / 1.191 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.8526, allocations: 12 kB / 1.191 GB, free: 4.031 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.8527, allocations: 12 kB / 1.191 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.8527, allocations: 32.67 kB / 1.191 GB, free: 3.988 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.8528, allocations: 15.94 kB / 1.191 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.8548, allocations: 0.5461 MB / 1.192 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.855, allocations: 99.92 kB / 1.192 GB, free: 3.328 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.0003715/0.8554, allocations: 217.5 kB / 1.192 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.8555, allocations: 47.45 kB / 1.192 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.072e-05/0.8556, allocations: 38.14 kB / 1.192 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.8556, allocations: 15.98 kB / 1.192 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.8556, allocations: 4 kB / 1.192 GB, free: 3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.8556, allocations: 4 kB / 1.192 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.856, allocations: 321.4 kB / 1.193 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.856, allocations: 4 kB / 1.193 GB, free: 2.629 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.8561, allocations: 19.92 kB / 1.193 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.8561, allocations: 7.938 kB / 1.193 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.8561, allocations: 23.92 kB / 1.193 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.8561, allocations: 11.92 kB / 1.193 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.8561, allocations: 4 kB / 1.193 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.8568, allocations: 0.508 MB / 1.193 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.8569, allocations: 116.6 kB / 1.193 GB, free: 1.863 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.8569, allocations: 15.98 kB / 1.193 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.857, allocations: 15.98 kB / 1.193 GB, free: 1.832 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.8571, allocations: 67.75 kB / 1.193 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.8572, allocations: 27.98 kB / 1.193 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001608/0.8573, allocations: 191.1 kB / 1.194 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8573, allocations: 0 / 1.194 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006477/0.858, allocations: 204 kB / 1.194 GB, free: 1.355 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.0001987/0.8582, allocations: 143.6 kB / 1.194 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.8602, allocations: 1.739 MB / 1.196 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8602, allocations: 4.062 kB / 1.196 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.8604, allocations: 184.1 kB / 1.196 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/0.8612, allocations: 115.2 kB / 1.196 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/0.8622, allocations: 0.6868 MB / 1.197 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.8626, allocations: 0.7725 MB / 1.197 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.8627, allocations: 43.91 kB / 1.197 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.8628, allocations: 43.42 kB / 1.197 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.8628, allocations: 0 / 1.197 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of Templates: time 0.0185/0.8813, allocations: 11.1 MB / 1.208 GB, free: 2.426 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)