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 4.919/4.919, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 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.002373/0.002373, allocations: 357.2 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.534/4.534, allocations: 410.7 MB / 1.112 GB, free: 5.902 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.001741/0.001741, allocations: 181.7 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004952, allocations: 15.98 kB / 1.348 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5882/0.5887, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.0008527/0.5896, allocations: 0.5301 MB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.5911, allocations: 1.281 MB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.5912, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.5913, allocations: 7.875 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.381e-05/0.5914, allocations: 20.91 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007574/0.5921, allocations: 253.3 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.5924, allocations: 312.2 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.5925, allocations: 22.7 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.5926, allocations: 133.3 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.5928, allocations: 127.6 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.5929, allocations: 20 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-05/0.593, allocations: 27.98 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.593, allocations: 64.72 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.608e-05/0.5932, allocations: 80.48 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.5934, allocations: 233.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.974e-06/0.5934, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.849e-06/0.5934, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.823e-06/0.5934, allocations: 0 / 1.464 GB, free: 281.2 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008107/0.5943, allocations: 0.538 MB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.5943, allocations: 11.62 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.577e-05/0.5944, allocations: 32.59 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.5952, allocations: 306.4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.5953, allocations: 27.22 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.5954, allocations: 43.97 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.5959, allocations: 258.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5959, allocations: 1.453 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.596, allocations: 7.984 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.058e-06/0.596, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.5963, allocations: 124.6 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.5974, allocations: 0.6126 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.598, allocations: 413 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.5984, allocations: 180.8 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.5984, allocations: 4.531 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006458/0.599, allocations: 353.1 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 4.232e-06/0.5991, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.001288/0.6004, allocations: 0.6756 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.6004, allocations: 64.14 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.6006, allocations: 147.5 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.6006, allocations: 49.69 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.6007, allocations: 109 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.6008, allocations: 99.53 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.6009, allocations: 16 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.6009, allocations: 335.7 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.6013, allocations: 141.1 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.6017, allocations: 293.5 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.6021, allocations: 212.5 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.6021, allocations: 4 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001061/0.6032, allocations: 0.5613 MB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.6033, allocations: 69.77 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6033, allocations: 7.938 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.6033, allocations: 8 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.6035, allocations: 43.86 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.6035, allocations: 11.95 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.6041, allocations: 119.7 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.6042, allocations: 36.95 kB / 1.469 GB, free: 275.1 MB / 0.8542 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.0002225/0.6044, allocations: 172.9 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.6045, allocations: 31.7 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.6045, allocations: 27.41 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.6046, allocations: 4 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.614e-06/0.6046, allocations: 0 / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.703e-06/0.6046, allocations: 9.25 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.6063, allocations: 0.9984 MB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.6063, allocations: 4 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.6064, allocations: 21.31 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.978e-06/0.6064, allocations: 1.078 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.6065, allocations: 23.97 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.742e-06/0.6065, allocations: 0 / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.313e-06/0.6065, allocations: 5.344 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000887/0.6074, allocations: 0.6211 MB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.6074, allocations: 96.77 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/0.6075, allocations: 35.17 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.6078, allocations: 23.97 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.6079, allocations: 43.92 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.608, allocations: 35.97 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.942e-05/0.608, allocations: 102.4 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.12e-07/0.6081, allocations: 0 / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005849/0.6086, allocations: 104.5 kB / 1.472 GB, free: 272.7 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: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002113/0.6089, allocations: 149.2 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009288/0.6098, allocations: 0.5407 MB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.178e-06/0.6098, allocations: 1.656 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004118/0.6103, allocations: 304 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.6107, allocations: 41.86 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008882/0.6116, allocations: 490.3 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.6118, allocations: 0.7353 MB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.612, allocations: 33.91 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.883e-05/0.6121, allocations: 35.42 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.535e-06/0.6121, allocations: 0 / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.009053/0.6212, allocations: 3.723 MB / 1.478 GB, free: 266.8 MB / 0.8542 GB