Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.006/5.006, allocations: 0.5623 GB / 0.577 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002396/0.002396, allocations: 358 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.068/4.068, allocations: 410.7 MB / 1.112 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001821/0.001821, allocations: 188.3 kB / 1.225 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.0005081, allocations: 16 kB / 1.348 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5816/0.5821, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001605/0.5837, allocations: 1.44 MB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.5856, allocations: 0.6825 MB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.5857, allocations: 7.938 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.735e-05/0.5858, allocations: 14.64 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.586, allocations: 31.77 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.588, allocations: 350.8 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006214/0.5886, allocations: 363.7 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.5888, allocations: 47.31 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.5891, allocations: 135.6 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.5893, allocations: 128.3 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-05/0.5894, allocations: 20 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.5896, allocations: 36.47 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.5897, allocations: 34.03 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.5898, allocations: 85.56 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.5903, allocations: 273.4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.715e-06/0.5903, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.524e-06/0.5903, allocations: 0.9375 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.5903, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009037/0.5912, allocations: 0.5512 MB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5913, allocations: 11.62 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.5915, allocations: 45.34 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.5928, allocations: 310.3 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.036e-05/0.5929, allocations: 17.27 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.5931, allocations: 39.98 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.5936, allocations: 180.9 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.5937, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.5937, allocations: 8.734 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.5937, allocations: 7.938 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.5942, allocations: 110.9 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.5958, allocations: 0.5991 MB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.5965, allocations: 199.7 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.5968, allocations: 76.83 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.5968, allocations: 7.938 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006989/0.5975, allocations: 247.2 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 5.22e-06/0.5975, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.001437/0.599, allocations: 415.5 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.5991, allocations: 68.27 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.5994, allocations: 188.1 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.5995, allocations: 46.33 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.5997, allocations: 134.1 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.5998, allocations: 86.94 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/0.5999, allocations: 16 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6001, allocations: 343.5 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.6007, allocations: 142.7 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/0.6015, allocations: 269.9 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.6022, allocations: 236.9 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.121e-06/0.6023, allocations: 0 / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002081/0.6044, allocations: 0.5899 MB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/0.6045, allocations: 98.03 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.6045, allocations: 7.984 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.6046, allocations: 7.953 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.6049, allocations: 40.48 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.6049, allocations: 8.625 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.6062, allocations: 130.2 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.6064, allocations: 35.98 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0003675/0.6068, allocations: 178.2 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.605e-05/0.6069, allocations: 24.78 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.277e-05/0.607, allocations: 26.64 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.607, allocations: 6.469 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.607, allocations: 3.953 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.025e-06/0.6071, allocations: 0 / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.6088, allocations: 0.6951 MB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.58e-06/0.6089, allocations: 1.688 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.609, allocations: 23.92 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.363e-06/0.6091, allocations: 0 / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.6091, allocations: 15.94 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.047e-06/0.6091, allocations: 4.5 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.448e-06/0.6092, allocations: 0.7812 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.6102, allocations: 427.9 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-05/0.6103, allocations: 96.86 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/0.6104, allocations: 11.98 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.6107, allocations: 18.25 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.6109, allocations: 23.95 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/0.6109, allocations: 12 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001599/0.6111, allocations: 131.7 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.54e-07/0.6111, allocations: 0 / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001021/0.6122, allocations: 103.8 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,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 (36): * Single equations (assignments): 23 * 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.0002591/0.6125, allocations: 124.4 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.614, allocations: 0.5349 MB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.614, allocations: 1 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.6145, allocations: 139.9 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008817/0.6154, allocations: 50.12 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.6167, allocations: 472.8 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.6169, allocations: 0.7486 MB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002527/0.6172, allocations: 38.86 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.6173, allocations: 23.44 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.047e-06/0.6174, allocations: 0 / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01487/0.6323, allocations: 3.421 MB / 1.477 GB, free: 268 MB / 0.8542 GB