Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.577/1.577, allocations: 297.8 MB / 313.7 MB, free: 100 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.0008863/0.0008861, allocations: 182.7 kB / 384.6 MB, free: 10.85 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.279/1.279, allocations: 223.2 MB / 0.6626 GB, free: 4.332 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.0007824/0.0007824, allocations: 96.33 kB / 0.7808 GB, free: 43.82 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 17.88 kB / 0.9088 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6015, allocations: 120.3 MB / 1.026 GB, free: 57.25 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.185/0.7865, allocations: 141.6 MB / 1.165 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.7868, allocations: 73.03 kB / 1.165 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04876/0.8355, allocations: 17.42 MB / 1.182 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.726e-06/0.8356, allocations: 0 / 1.182 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.8356, 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.0009716/0.8366, allocations: 1 MB / 1.183 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.8367, allocations: 12.03 kB / 1.183 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.8369, allocations: 72.55 kB / 1.183 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.837, allocations: 208.5 kB / 1.183 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.8371, allocations: 36.36 kB / 1.183 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.8372, allocations: 68.36 kB / 1.183 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.8375, allocations: 216.6 kB / 1.183 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.8375, allocations: 4.172 kB / 1.183 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.8376, allocations: 11.92 kB / 1.183 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.8376, allocations: 4 kB / 1.183 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.8377, allocations: 71.78 kB / 1.183 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.8385, allocations: 0.8444 MB / 1.184 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.8388, allocations: 327.2 kB / 1.184 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.839, allocations: 132.9 kB / 1.185 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.839, allocations: 11.94 kB / 1.185 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005562/0.8396, allocations: 455.4 kB / 1.185 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.8396, allocations: 3.938 kB / 1.185 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.0009326/0.8405, allocations: 0.5652 MB / 1.186 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/0.8407, allocations: 435.2 kB / 1.186 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.841, allocations: 300.2 kB / 1.186 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.8411, allocations: 65.7 kB / 1.186 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.8413, allocations: 161.3 kB / 1.187 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.272e-05/0.8414, allocations: 98.89 kB / 1.187 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.781e-05/0.8415, allocations: 32 kB / 1.187 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8417, allocations: 346.8 kB / 1.187 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007952/0.8425, allocations: 425.3 kB / 1.187 GB, free: 8.676 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009481/0.8434, allocations: 0.6989 MB / 1.188 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.8446, allocations: 1.195 MB / 1.189 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.8447, allocations: 4 kB / 1.189 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002437/0.8471, allocations: 1.708 MB / 1.191 GB, free: 4.602 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002737/0.8474, allocations: 489.4 kB / 1.191 GB, free: 4.031 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.8474, allocations: 8 kB / 1.191 GB, free: 4.023 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.8474, allocations: 17.06 kB / 1.191 GB, free: 4.008 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.8475, allocations: 27.86 kB / 1.191 GB, free: 3.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.8475, allocations: 15.94 kB / 1.191 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.8496, allocations: 0.5461 MB / 1.192 GB, free: 3.418 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.8498, allocations: 95.92 kB / 1.192 GB, free: 3.324 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.0003346/0.8501, allocations: 221.5 kB / 1.192 GB, free: 3.098 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.6e-05/0.8502, allocations: 47.45 kB / 1.192 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.8503, allocations: 34.16 kB / 1.192 GB, free: 3.016 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.8503, allocations: 11.98 kB / 1.192 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.8503, allocations: 8 kB / 1.192 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.8503, allocations: 4 kB / 1.192 GB, free: 2.992 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.8507, allocations: 329.4 kB / 1.193 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.8507, allocations: 4 kB / 1.193 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.8507, allocations: 19.92 kB / 1.193 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.8507, allocations: 11.94 kB / 1.193 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.8508, allocations: 15.98 kB / 1.193 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.8508, allocations: 11.98 kB / 1.193 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.8508, allocations: 11.94 kB / 1.193 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005769/0.8514, allocations: 0.5041 MB / 1.193 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.8514, allocations: 112.6 kB / 1.193 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.8515, allocations: 15.98 kB / 1.193 GB, free: 1.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.8516, allocations: 23.97 kB / 1.193 GB, free: 1.816 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.8517, allocations: 67.75 kB / 1.193 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.8517, allocations: 27.98 kB / 1.193 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001503/0.8519, allocations: 187.1 kB / 1.194 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8519, allocations: 0 / 1.194 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006137/0.8525, allocations: 207.9 kB / 1.194 GB, free: 1.34 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.0002401/0.8528, allocations: 143.6 kB / 1.194 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.8546, allocations: 1.735 MB / 1.196 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.8547, allocations: 4 kB / 1.196 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.8549, allocations: 183.7 kB / 1.196 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007855/0.8557, allocations: 115.3 kB / 1.196 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009886/0.8567, allocations: 0.6882 MB / 1.197 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.8571, allocations: 0.7764 MB / 1.197 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.8572, allocations: 50.95 kB / 1.197 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.8573, allocations: 35.42 kB / 1.197 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of SimCode: time 6.92e-07/0.8573, allocations: 0 / 1.197 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of Templates: time 0.01866/0.8759, allocations: 11.09 MB / 1.208 GB, free: 2.418 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)