Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.152/5.152, allocations: 0.5623 GB / 0.5769 GB, free: 3.277 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.00239/0.00239, allocations: 359.9 kB / 0.644 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.115/4.115, allocations: 410.7 MB / 1.112 GB, free: 148 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.001697/0.001697, allocations: 183.7 kB / 1.225 GB, free: 36.02 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004881, allocations: 12 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 115.3 MB / 1.461 GB, free: 6.648 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0007718/0.1578, allocations: 442.4 kB / 1.461 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008559/0.1587, allocations: 0.8215 MB / 1.462 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.1588, allocations: 0 / 1.462 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.1588, allocations: 3.938 kB / 1.462 GB, free: 5.371 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.1589, allocations: 3.984 kB / 1.462 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.159, allocations: 11.94 kB / 1.462 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.1591, allocations: 39.91 kB / 1.462 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.901e-05/0.1592, allocations: 15.98 kB / 1.462 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.1592, allocations: 7.938 kB / 1.462 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.1593, allocations: 27.84 kB / 1.462 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1593, allocations: 0 / 1.462 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.1593, allocations: 4 kB / 1.462 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.1594, allocations: 7.984 kB / 1.462 GB, free: 5.254 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.1594, allocations: 25.7 kB / 1.462 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.909e-05/0.1595, allocations: 27.94 kB / 1.462 GB, free: 5.195 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.667e-06/0.1595, allocations: 0 / 1.462 GB, free: 5.195 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1595, allocations: 7.938 kB / 1.462 GB, free: 5.188 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.1595, allocations: 0 / 1.462 GB, free: 5.188 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005342/0.16, allocations: 387.5 kB / 1.463 GB, free: 4.762 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1601, allocations: 8.031 kB / 1.463 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.1601, allocations: 7.906 kB / 1.463 GB, free: 4.746 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.438e-05/0.1602, allocations: 171 kB / 1.463 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1602, allocations: 12 kB / 1.463 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.1603, allocations: 0 / 1.463 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1605, allocations: 73.66 kB / 1.463 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.063e-06/0.1605, allocations: 0 / 1.463 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1605, allocations: 0 / 1.463 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-06/0.1605, allocations: 3.938 kB / 1.463 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.1608, allocations: 59.89 kB / 1.463 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.1613, allocations: 300.7 kB / 1.463 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1616, allocations: 58.55 kB / 1.463 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.1617, allocations: 32.98 kB / 1.463 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1617, allocations: 7.938 kB / 1.463 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.1618, allocations: 34.56 kB / 1.463 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.552e-06/0.1618, allocations: 0 / 1.463 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004307/0.1622, allocations: 105.8 kB / 1.463 GB, free: 3.781 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.1623, allocations: 63.36 kB / 1.463 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.259e-05/0.1623, allocations: 109.8 kB / 1.464 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1624, allocations: 25.7 kB / 1.464 GB, free: 3.559 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.1624, allocations: 88.12 kB / 1.464 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.1624, allocations: 15.81 kB / 1.464 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-06/0.1625, allocations: 384 / 1.464 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.1625, allocations: 314.8 kB / 1.464 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1626, allocations: 35.91 kB / 1.464 GB, free: 3.102 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.96e-05/0.1627, allocations: 19.98 kB / 1.464 GB, free: 3.082 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1629, allocations: 27.92 kB / 1.464 GB, free: 3.055 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-06/0.1629, allocations: 0 / 1.464 GB, free: 3.055 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002564/0.1631, allocations: 89.66 kB / 1.464 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1632, allocations: 7.984 kB / 1.464 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.512e-06/0.1632, allocations: 0 / 1.464 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1632, allocations: 0 / 1.464 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.1633, allocations: 12 kB / 1.464 GB, free: 2.941 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.729e-06/0.1633, allocations: 7.953 kB / 1.464 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.1635, allocations: 31.91 kB / 1.464 GB, free: 2.902 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.439e-06/0.1635, allocations: 0 / 1.464 GB, free: 2.902 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.744e-05/0.1636, allocations: 114.3 kB / 1.464 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.1636, allocations: 7.906 kB / 1.464 GB, free: 2.773 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.1639, allocations: 93.55 kB / 1.464 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1639, allocations: 0 / 1.464 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.327e-06/0.1639, allocations: 0 / 1.464 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.473e-06/0.1639, allocations: 7.953 kB / 1.464 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1641, allocations: 165.6 kB / 1.465 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.1641, allocations: 7.938 kB / 1.465 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.087e-05/0.1642, allocations: 12 kB / 1.465 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.805e-06/0.1642, allocations: 0 / 1.465 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.785e-06/0.1642, allocations: 0 / 1.465 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.999e-06/0.1643, allocations: 3.984 kB / 1.465 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-06/0.1643, allocations: 0 / 1.465 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1645, allocations: 187.3 kB / 1.465 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.1646, allocations: 81.11 kB / 1.465 GB, free: 2.137 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1646, allocations: 0 / 1.465 GB, free: 2.137 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1648, allocations: 23.97 kB / 1.465 GB, free: 2.113 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.1649, allocations: 15.98 kB / 1.465 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.299e-06/0.1649, allocations: 0 / 1.465 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.1649, allocations: 87.28 kB / 1.465 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.45e-07/0.1649, allocations: 0 / 1.465 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002986/0.1652, allocations: 8 kB / 1.465 GB, free: 2.004 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001026/0.1654, allocations: 99.52 kB / 1.465 GB, free: 1.898 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.1656, allocations: 68.16 kB / 1.465 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.838e-06/0.1657, allocations: 4 kB / 1.465 GB, free: 1.828 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1658, allocations: 23.98 kB / 1.465 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1662, allocations: 15.89 kB / 1.465 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.1665, allocations: 132.7 kB / 1.465 GB, free: 1.633 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1668, allocations: 0.6848 MB / 1.466 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.272e-05/0.1668, allocations: 3.906 kB / 1.466 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.1669, allocations: 11.44 kB / 1.466 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of SimCode: time 3.695e-06/0.1669, allocations: 4 kB / 1.466 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of Templates: time 0.003351/0.1703, allocations: 0.6365 MB / 1.467 GB, free: 280 kB / 0.6042 GB