Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 99.23 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001283, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.691/1.691, allocations: 251.9 MB / 0.51 GB, free: 4.828 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006703/0.0006708, allocations: 19.28 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6556, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002203/0.6579, allocations: 1.389 MB / 0.7293 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007342/0.6586, allocations: 379.9 kB / 0.7297 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.6587, allocations: 7.938 kB / 0.7297 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.6587, allocations: 11.86 kB / 0.7297 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.6589, allocations: 31.92 kB / 0.7298 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.6592, allocations: 75.89 kB / 0.7298 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.6595, allocations: 155.7 kB / 0.73 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.6597, allocations: 53.3 kB / 0.73 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.168e-05/0.6598, allocations: 71.77 kB / 0.7301 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.6599, allocations: 87.58 kB / 0.7302 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.66, allocations: 8 kB / 0.7302 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.483e-05/0.66, allocations: 12 kB / 0.7302 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.66, allocations: 35.89 kB / 0.7302 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.425e-05/0.6601, allocations: 77.56 kB / 0.7303 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.6603, allocations: 157.5 kB / 0.7305 GB, free: 8.855 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.6603, allocations: 0 / 0.7305 GB, free: 8.855 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6603, allocations: 0 / 0.7305 GB, free: 8.855 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.6603, allocations: 0 / 0.7305 GB, free: 8.855 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007857/0.6611, allocations: 485.6 kB / 0.7309 GB, free: 8.332 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.6612, allocations: 12.03 kB / 0.7309 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.6612, allocations: 19.81 kB / 0.731 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.6617, allocations: 286 kB / 0.7312 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.6617, allocations: 16.33 kB / 0.7312 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.6618, allocations: 31.97 kB / 0.7313 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.6621, allocations: 172.2 kB / 0.7314 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6621, allocations: 0 / 0.7314 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.6621, allocations: 11.98 kB / 0.7314 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6622, allocations: 4 kB / 0.7315 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.6624, allocations: 120.2 kB / 0.7316 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.6633, allocations: 0.5273 MB / 0.7321 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.6636, allocations: 202.5 kB / 0.7323 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.6636, allocations: 0 / 0.7323 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004568/0.6641, allocations: 263.2 kB / 0.7325 GB, free: 6.578 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.763e-06/0.6641, allocations: 0 / 0.7325 GB, free: 6.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0007054/0.6648, allocations: 414.3 kB / 0.7329 GB, free: 6.168 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.6649, allocations: 71.33 kB / 0.733 GB, free: 6.086 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.665, allocations: 149.7 kB / 0.7331 GB, free: 5.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.6651, allocations: 41.7 kB / 0.7332 GB, free: 5.883 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.6652, allocations: 116.9 kB / 0.7333 GB, free: 5.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/0.6653, allocations: 94.8 kB / 0.7334 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.6653, allocations: 8 kB / 0.7334 GB, free: 5.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6654, allocations: 346.7 kB / 0.7337 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.6656, allocations: 93.08 kB / 0.7338 GB, free: 5.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.6658, allocations: 154.2 kB / 0.7339 GB, free: 5.062 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.6659, allocations: 88.81 kB / 0.734 GB, free: 4.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6659, allocations: 4 kB / 0.734 GB, free: 4.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004274/0.6664, allocations: 319.7 kB / 0.7343 GB, free: 4.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6664, allocations: 4 kB / 0.7343 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6664, allocations: 4 kB / 0.7343 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.6664, allocations: 4 kB / 0.7344 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.6666, allocations: 39.92 kB / 0.7344 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.6666, allocations: 7.984 kB / 0.7344 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.6668, allocations: 39.95 kB / 0.7344 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.6668, allocations: 12 kB / 0.7344 GB, free: 4.543 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.0001515/0.667, allocations: 170.9 kB / 0.7346 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.667, allocations: 23.72 kB / 0.7346 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.6671, allocations: 25.97 kB / 0.7347 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.6671, allocations: 4 kB / 0.7347 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.6671, allocations: 4 kB / 0.7347 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.6671, allocations: 7.984 kB / 0.7347 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009358/0.668, allocations: 0.7365 MB / 0.7354 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6681, allocations: 0 / 0.7354 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.6681, allocations: 19.94 kB / 0.7354 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6681, allocations: 0 / 0.7354 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.6682, allocations: 15.98 kB / 0.7354 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.6682, allocations: 4 kB / 0.7354 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.6682, allocations: 0 / 0.7354 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.6687, allocations: 435 kB / 0.7358 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.6687, allocations: 92.86 kB / 0.7359 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.6688, allocations: 15.98 kB / 0.7359 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.669, allocations: 31.97 kB / 0.736 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.6691, allocations: 39.92 kB / 0.736 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.6691, allocations: 12 kB / 0.736 GB, free: 2.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.314e-05/0.6692, allocations: 117.7 kB / 0.7361 GB, free: 2.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6692, allocations: 0 / 0.7361 GB, free: 2.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002998/0.6695, allocations: 71.91 kB / 0.7362 GB, free: 2.637 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (booPul2.y,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer2.reset_internal,accuTimer1.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001813/0.6697, allocations: 134.5 kB / 0.7363 GB, free: 2.496 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.6701, allocations: 267 kB / 0.7366 GB, free: 2.238 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6701, allocations: 7.938 kB / 0.7366 GB, free: 2.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.6704, allocations: 155.8 kB / 0.7367 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.6706, allocations: 35.91 kB / 0.7368 GB, free: 2.043 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.6713, allocations: 457.6 kB / 0.7372 GB, free: 1.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.6716, allocations: 0.7377 MB / 0.7379 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.6717, allocations: 34.97 kB / 0.738 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.6718, allocations: 27.42 kB / 0.738 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6718, allocations: 0 / 0.738 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of Templates: time 0.005329/0.6772, allocations: 2.244 MB / 0.7402 GB, free: 14.52 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) Environment - environmentSimulation: