Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.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.805/5.805, allocations: 0.5623 GB / 0.5776 GB, free: 3.391 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.002663/0.002663, allocations: 355.7 kB / 0.6447 GB, free: 185.7 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.483/4.483, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00262/0.00262, allocations: 171.9 kB / 1.226 GB, free: 36.04 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006579/0.0006582, allocations: 12 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2198, allocations: 115.3 MB / 1.461 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001005/0.2209, allocations: 466.2 kB / 1.462 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.2227, allocations: 1.197 MB / 1.463 GB, free: 4.969 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.2228, allocations: 0 / 1.463 GB, free: 4.969 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.2228, allocations: 7.875 kB / 1.463 GB, free: 4.961 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/0.2229, allocations: 23.84 kB / 1.463 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008927/0.2238, allocations: 207.3 kB / 1.463 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.2241, allocations: 203.6 kB / 1.463 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2242, allocations: 16.22 kB / 1.463 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2243, allocations: 91.8 kB / 1.463 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.2245, allocations: 71.77 kB / 1.464 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.2245, allocations: 16 kB / 1.464 GB, free: 4.348 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.2247, allocations: 23.98 kB / 1.464 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.2247, allocations: 31.89 kB / 1.464 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.978e-05/0.2248, allocations: 49.7 kB / 1.464 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.225, allocations: 151.9 kB / 1.464 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2251, allocations: 0 / 1.464 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2251, allocations: 0 / 1.464 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2251, allocations: 0 / 1.464 GB, free: 4.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000751/0.2258, allocations: 474.3 kB / 1.464 GB, free: 3.566 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2259, allocations: 8.031 kB / 1.464 GB, free: 3.559 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.674e-05/0.226, allocations: 19.89 kB / 1.464 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009484/0.227, allocations: 262.7 kB / 1.465 GB, free: 3.242 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.227, allocations: 15.98 kB / 1.465 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.2271, allocations: 16 kB / 1.465 GB, free: 3.211 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.2274, allocations: 131.3 kB / 1.465 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2274, allocations: 3.938 kB / 1.465 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.2275, allocations: 8 kB / 1.465 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2275, allocations: 7.938 kB / 1.465 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.2277, allocations: 55.94 kB / 1.465 GB, free: 2.996 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.2287, allocations: 0.5319 MB / 1.465 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.2291, allocations: 153.2 kB / 1.465 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.2292, allocations: 65.69 kB / 1.466 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.2292, allocations: 4 kB / 1.466 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.2297, allocations: 207.4 kB / 1.466 GB, free: 1.945 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.826e-06/0.2297, allocations: 4 kB / 1.466 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0007934/0.2305, allocations: 317.1 kB / 1.466 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.2306, allocations: 89.06 kB / 1.466 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.2307, allocations: 126 kB / 1.466 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.2308, allocations: 41.7 kB / 1.466 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2309, allocations: 96.69 kB / 1.466 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.727e-05/0.231, allocations: 51.34 kB / 1.466 GB, free: 1.195 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.231, allocations: 8 kB / 1.466 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2312, allocations: 322.8 kB / 1.467 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.2315, allocations: 88.23 kB / 1.467 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.2319, allocations: 152.2 kB / 1.467 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.2322, allocations: 143.3 kB / 1.467 GB, free: 460 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.2322, allocations: 4 kB / 1.467 GB, free: 456 kB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009278/0.2331, allocations: 352.9 kB / 1.467 GB, free: 84 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/0.2332, allocations: 63.39 kB / 1.467 GB, free: 8 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.2333, allocations: 8.016 kB / 1.467 GB, free: 0 / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.046e-05/0.2333, allocations: 4.266 kB / 1.468 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2335, allocations: 27.88 kB / 1.468 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.2335, allocations: 11.92 kB / 1.468 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007104/0.2343, allocations: 91.73 kB / 1.468 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.2343, allocations: 15.98 kB / 1.468 GB, free: 15.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0002644/0.2346, allocations: 144 kB / 1.468 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.2347, allocations: 11.91 kB / 1.468 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.2347, allocations: 12.5 kB / 1.468 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.2348, allocations: 11.98 kB / 1.468 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2348, allocations: 0 / 1.468 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.2348, allocations: 88.92 kB / 1.468 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.2349, allocations: 15.94 kB / 1.468 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2351, allocations: 15.98 kB / 1.468 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/0.2352, allocations: 19.97 kB / 1.468 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007705/0.236, allocations: 423.2 kB / 1.468 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007326/0.2367, allocations: 0.5001 MB / 1.469 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002513/0.237, allocations: 104 kB / 1.469 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.199e-05/0.2371, allocations: 95.27 kB / 1.469 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of Backend: time 8.22e-07/0.2371, allocations: 0 / 1.469 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.2383, allocations: 376.4 kB / 1.469 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009606/0.2393, allocations: 0.6917 MB / 1.47 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.009005/0.2483, allocations: 2.474 MB / 1.472 GB, free: 10.79 MB / 0.6198 GB