Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.096/5.096, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 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.002638/0.002637, allocations: 358.4 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.838/4.838, allocations: 410.7 MB / 1.113 GB, free: 6.109 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.00193/0.00193, allocations: 189.7 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000711/0.0007113, allocations: 16 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8181, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001055/0.8192, allocations: 0.5515 MB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.8214, allocations: 1.376 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.8216, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.8221, allocations: 185.7 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.8223, allocations: 101.9 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.8236, allocations: 312.4 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008716/0.8245, allocations: 0.655 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.8248, allocations: 84.73 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008312/0.8256, allocations: 283.4 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007212/0.8264, allocations: 231.3 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.8266, allocations: 16 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.827, allocations: 68.97 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004993/0.8276, allocations: 303.3 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.8277, allocations: 89.52 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007905/0.8285, allocations: 0.7042 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.8286, allocations: 4 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8286, allocations: 2.438 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8286, allocations: 0 / 1.466 GB, free: 279.4 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.0017/0.8303, allocations: 0.6931 MB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.8304, allocations: 15.62 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.8306, allocations: 60.89 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.8317, allocations: 0.5205 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.8317, allocations: 28.22 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.8319, allocations: 36 kB / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/0.8326, allocations: 310.7 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.8326, allocations: 0 / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.8326, allocations: 4.5 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.8327, allocations: 4.656 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.8331, allocations: 219.8 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.8358, allocations: 1.191 MB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008747/0.8367, allocations: 473.6 kB / 1.47 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.8371, allocations: 175.6 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.8371, allocations: 4.531 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006161/0.8378, allocations: 328.8 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 3.517e-06/0.8378, allocations: 2.625 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.001513/0.8393, allocations: 0.6185 MB / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.8394, allocations: 118.8 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009289/0.8403, allocations: 0.5954 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.8405, allocations: 41.7 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.8408, allocations: 223.7 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.8409, allocations: 59.28 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.8409, allocations: 5.375 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8411, allocations: 367.2 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.8414, allocations: 129.3 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.8425, allocations: 0.7117 MB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.8428, allocations: 176 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.8428, allocations: 0 / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001023/0.8439, allocations: 420 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.8439, allocations: 8 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.8439, allocations: 7.938 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.844, allocations: 4.906 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.8442, allocations: 31.92 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.8443, allocations: 5.625 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/0.8474, allocations: 141.7 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.8476, allocations: 8 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.001289/0.8489, allocations: 267.2 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.8491, allocations: 46.02 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.8493, allocations: 56.8 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.8493, allocations: 0 / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.8493, allocations: 0 / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.8495, allocations: 140.5 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.8496, allocations: 4.5 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.8499, allocations: 16.48 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.8501, allocations: 40.69 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001079/0.8511, allocations: 0.6984 MB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009481/0.8521, allocations: 0.7933 MB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003192/0.8525, allocations: 180.9 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006921/0.8532, allocations: 439 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of Backend: time 7.51e-07/0.8532, allocations: 0.8125 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.8546, allocations: 313.1 kB / 1.477 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001504/0.8561, allocations: 1.185 MB / 1.478 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.02455/0.8807, allocations: 7.517 MB / 1.485 GB, free: 260.1 MB / 0.8542 GB