Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.388/5.388, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 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.00288/0.002879, allocations: 357.7 kB / 0.6447 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.448/4.448, allocations: 410.7 MB / 1.113 GB, free: 147.8 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.001774/0.001774, allocations: 175.7 kB / 1.226 GB, free: 35.89 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007136/0.0007138, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2299, allocations: 115.3 MB / 1.461 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.001094/0.2311, allocations: 0.5214 MB / 1.462 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.233, allocations: 1.286 MB / 1.463 GB, free: 4.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.2331, allocations: 4 kB / 1.463 GB, free: 4.746 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.2331, allocations: 3.938 kB / 1.463 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.461e-05/0.2332, allocations: 19.84 kB / 1.463 GB, free: 4.723 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009552/0.2342, allocations: 255.2 kB / 1.463 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.2345, allocations: 307.4 kB / 1.464 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2347, allocations: 29.09 kB / 1.464 GB, free: 4.148 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.2348, allocations: 123.8 kB / 1.464 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.235, allocations: 139.5 kB / 1.464 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.2351, allocations: 20 kB / 1.464 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.2352, allocations: 35.92 kB / 1.464 GB, free: 3.836 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.2353, allocations: 47.88 kB / 1.464 GB, free: 3.789 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.2354, allocations: 81.61 kB / 1.464 GB, free: 3.703 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.2357, allocations: 243.6 kB / 1.464 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2357, allocations: 0 / 1.464 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.305e-06/0.2357, allocations: 0 / 1.464 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2357, allocations: 0 / 1.464 GB, free: 3.465 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001132/0.2369, allocations: 0.5401 MB / 1.465 GB, free: 2.863 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2369, allocations: 8.562 kB / 1.465 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.2371, allocations: 27.81 kB / 1.465 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.2382, allocations: 315.1 kB / 1.465 GB, free: 2.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.2383, allocations: 20.22 kB / 1.465 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.2384, allocations: 47.97 kB / 1.465 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.239, allocations: 255 kB / 1.466 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2391, allocations: 0 / 1.466 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/0.2391, allocations: 11.98 kB / 1.466 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2391, allocations: 0 / 1.466 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.2395, allocations: 124.6 kB / 1.466 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.2408, allocations: 0.6093 MB / 1.466 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009358/0.2417, allocations: 421.8 kB / 1.467 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/0.2422, allocations: 180.8 kB / 1.467 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.2423, allocations: 0 / 1.467 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009211/0.2432, allocations: 354.9 kB / 1.467 GB, free: 404 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 3.246e-06/0.2432, allocations: 8 kB / 1.467 GB, free: 396 kB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.00188/0.2451, allocations: 0.6573 MB / 1.468 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.2452, allocations: 63.41 kB / 1.468 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.2454, allocations: 145.9 kB / 1.468 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.2455, allocations: 53.69 kB / 1.468 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2456, allocations: 101 kB / 1.468 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.2458, allocations: 110.7 kB / 1.468 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.2458, allocations: 12 kB / 1.468 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.246, allocations: 342.8 kB / 1.469 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.2465, allocations: 137.1 kB / 1.469 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.2471, allocations: 300.6 kB / 1.469 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.2477, allocations: 212.6 kB / 1.469 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2477, allocations: 3.938 kB / 1.469 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001495/0.2492, allocations: 0.5651 MB / 1.47 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.773e-05/0.2493, allocations: 67.41 kB / 1.47 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.2493, allocations: 4 kB / 1.47 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.2493, allocations: 12.58 kB / 1.47 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.2496, allocations: 47.84 kB / 1.47 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/0.2497, allocations: 15.89 kB / 1.47 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008478/0.2505, allocations: 115.7 kB / 1.47 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/0.2506, allocations: 31.98 kB / 1.47 GB, free: 13.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition12,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y,con.y,$whenCondition4,noThr.reset,$whenCondition8,thrTim.reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0003183/0.251, allocations: 178.9 kB / 1.47 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.251, allocations: 35.7 kB / 1.47 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.68e-05/0.2511, allocations: 26.31 kB / 1.47 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2512, allocations: 3.984 kB / 1.47 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2512, allocations: 0 / 1.47 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.2512, allocations: 100.8 kB / 1.47 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.2514, allocations: 19.98 kB / 1.47 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.2517, allocations: 31.95 kB / 1.47 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.2518, allocations: 43.88 kB / 1.471 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001535/0.2533, allocations: 0.6309 MB / 1.471 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001442/0.2548, allocations: 0.7329 MB / 1.472 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005638/0.2554, allocations: 280.2 kB / 1.472 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.833e-05/0.2555, allocations: 98.23 kB / 1.472 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of Backend: time 1.062e-06/0.2555, allocations: 0 / 1.472 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.257, allocations: 0.4971 MB / 1.473 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001135/0.2582, allocations: 0.7914 MB / 1.473 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of Templates: time 0.01218/0.2704, allocations: 3.787 MB / 1.477 GB, free: 5.926 MB / 0.6198 GB