Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.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.001969/0.00197, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002022/0.002022, allocations: 196.6 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 68.19 kB / 0.9116 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2943, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003054/0.2974, allocations: 1.858 MB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2986, allocations: 0.7558 MB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2987, allocations: 4 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.2988, allocations: 15.86 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.2989, allocations: 27.78 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.2998, allocations: 361.1 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.3003, allocations: 447.1 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3005, allocations: 76.03 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.3007, allocations: 163.6 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.3009, allocations: 143.5 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.301, allocations: 36 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3011, allocations: 51.98 kB / 1.072 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.3012, allocations: 55.81 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.3015, allocations: 175.4 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.302, allocations: 383.2 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.302, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.791e-06/0.302, allocations: 3.984 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.302, allocations: 3.938 kB / 1.072 GB, free: 6.266 MB / 0.8262 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.00111/0.3032, allocations: 0.616 MB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/0.3032, allocations: 15.97 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.3034, allocations: 28.75 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/0.3042, allocations: 309 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.3043, allocations: 28.69 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/0.3044, allocations: 40.36 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.3048, allocations: 184.6 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3048, allocations: 3.938 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.3048, allocations: 7.984 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.3048, allocations: 12 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.3051, allocations: 107.9 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3061, allocations: 0.5936 MB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.3065, allocations: 206.4 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3066, allocations: 84.77 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.3066, allocations: 4 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004453/0.3071, allocations: 242.9 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=36): time 2.735e-06/0.3071, allocations: 0 / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36): time 0.0008462/0.3079, allocations: 419 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.308, allocations: 63.41 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.3082, allocations: 187 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.3083, allocations: 45.7 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3085, allocations: 140.7 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.886e-05/0.3086, allocations: 90.97 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.3088, allocations: 130.1 kB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.309, allocations: 338.8 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.3093, allocations: 145 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.3097, allocations: 271.2 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005412/0.3102, allocations: 423.1 kB / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3103, allocations: 3.938 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009465/0.3112, allocations: 0.5839 MB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.844e-05/0.3113, allocations: 97.09 kB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3113, allocations: 4.375 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3113, allocations: 8.094 kB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3115, allocations: 40 kB / 1.077 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.3115, allocations: 19.86 kB / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/0.3121, allocations: 99.59 kB / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.3121, allocations: 31.98 kB / 1.078 GB, free: 324 kB / 0.8262 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 (accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer.yAcc,$PRE.accuTimer.yAcc,resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.y,$whenCondition3,pre.y,$PRE.pre.u,$whenCondition9,con.y,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,booPul2.y,$PRE.booPul2.y,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,$whenCondition7,$whenCondition8,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul.y,$PRE.booPul.y,pre.u,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition10) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.3123, allocations: 178.9 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.3124, allocations: 27.72 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.3124, allocations: 22.66 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3124, allocations: 4 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3125, allocations: 0 / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3125, allocations: 3.984 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.3134, allocations: 0.7167 MB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3134, allocations: 0 / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.3134, allocations: 12 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.3135, allocations: 7.984 kB / 1.078 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.3135, allocations: 11.98 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3135, allocations: 0 / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3135, allocations: 0 / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.3141, allocations: 427 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.3141, allocations: 104.7 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.3142, allocations: 11.98 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3143, allocations: 11.98 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.3144, allocations: 23.97 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.3144, allocations: 15.98 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001084/0.3145, allocations: 125.2 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3145, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004661/0.315, allocations: 103.8 kB / 1.079 GB, free: 14.43 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000238/0.3152, allocations: 119.8 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008943/0.3162, allocations: 0.5535 MB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3162, allocations: 4.688 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.3164, allocations: 147.7 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.3168, allocations: 48.02 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.3176, allocations: 484.9 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.318, allocations: 0.7409 MB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000129/0.3181, allocations: 43.12 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.3182, allocations: 27.44 kB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.3182, allocations: 0 / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.007999/0.3262, allocations: 3.766 MB / 1.085 GB, free: 8.445 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)