Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.628/4.628, allocations: 0.5623 GB / 0.5769 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002635/0.002634, allocations: 354.4 kB / 0.644 GB, free: 21.46 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.124/4.124, allocations: 410.8 MB / 1.112 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002809/0.002809, allocations: 185.5 kB / 1.225 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0008736/0.000874, allocations: 11.06 kB / 1.348 GB, free: 320.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1693, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0009176/0.1703, allocations: 0.5733 MB / 1.461 GB, free: 220.1 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008991/0.1712, allocations: 0.8647 MB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.1713, allocations: 0 / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.1713, allocations: 4.594 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.798e-05/0.1714, allocations: 12.45 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.1716, allocations: 32.44 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1717, allocations: 92.73 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1718, allocations: 34.8 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1719, allocations: 35.84 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.172, allocations: 40.94 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.1721, allocations: 4 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.606e-05/0.1721, allocations: 0 / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.1721, allocations: 16.58 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.1722, allocations: 37.64 kB / 1.462 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1723, allocations: 101.4 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.051e-06/0.1723, allocations: 0 / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.377e-06/0.1723, allocations: 0 / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.204e-06/0.1723, allocations: 0 / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007733/0.1731, allocations: 458.1 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1732, allocations: 11.48 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.1732, allocations: 15.84 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1733, allocations: 179.5 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1734, allocations: 8 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1734, allocations: 9.266 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.1737, allocations: 102.3 kB / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.615e-06/0.1737, allocations: 0 / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1737, allocations: 5.438 kB / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-06/0.1737, allocations: 0 / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.174, allocations: 74.89 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.1747, allocations: 413.4 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1749, allocations: 70.14 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.175, allocations: 40.97 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.1751, allocations: 0 / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1751, allocations: 38.48 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.784e-06/0.1751, allocations: 4.5 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0004297/0.1755, allocations: 120.5 kB / 1.464 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.1756, allocations: 55.41 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1757, allocations: 151.2 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1757, allocations: 33.7 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.1758, allocations: 105.1 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.1758, allocations: 7.812 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-06/0.1759, allocations: 4 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.1759, allocations: 323.9 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1761, allocations: 37.66 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1762, allocations: 32.48 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1763, allocations: 28.86 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-06/0.1763, allocations: 1.906 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00028/0.1766, allocations: 106.1 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1766, allocations: 7.688 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.524e-06/0.1766, allocations: 4 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1767, allocations: 0 / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1768, allocations: 11.98 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.652e-06/0.1768, allocations: 0 / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.177, allocations: 33.28 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1771, allocations: 0.6875 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.936e-05/0.1772, allocations: 125.4 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.1772, allocations: 15.8 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.1773, allocations: 18.8 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.723e-06/0.1773, allocations: 3.984 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1773, allocations: 0 / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.38e-06/0.1773, allocations: 0 / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.1775, allocations: 205.5 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-06/0.1775, allocations: 3.938 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.1776, allocations: 12.7 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.207e-06/0.1776, allocations: 4.797 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1777, allocations: 0 / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.649e-06/0.1777, allocations: 0 / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.626e-06/0.1777, allocations: 0.625 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.178, allocations: 191.6 kB / 1.465 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.178, allocations: 85.02 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.1781, allocations: 8.203 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.1783, allocations: 34.12 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.1784, allocations: 21.06 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1784, allocations: 4 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.704e-05/0.1785, allocations: 115.2 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.49e-07/0.1785, allocations: 1.281 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000321/0.1788, allocations: 16 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001028/0.179, allocations: 100.4 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.1792, allocations: 73.77 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.724e-06/0.1793, allocations: 2.688 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1794, allocations: 39.92 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1798, allocations: 8 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.1802, allocations: 229.7 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.1804, allocations: 0.7071 MB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.432e-05/0.1805, allocations: 5.656 kB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.1806, allocations: 19.42 kB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of SimCode: time 1.631e-06/0.1806, allocations: 0 / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of Templates: time 0.004163/0.1847, allocations: 1.071 MB / 1.468 GB, free: 213.1 MB / 0.8073 GB