Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.525/2.525, allocations: 252.6 MB / 265.2 MB, free: 5.703 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 190.2 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 0.5754 GB, free: 10.49 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 97.83 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.627e-05/4.642e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 106.2 MB / 0.8949 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.285, allocations: 131.4 MB / 1.023 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.286, allocations: 68.53 kB / 1.023 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004279/1.29, allocations: 0.9552 MB / 1.024 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.17e-06/1.29, allocations: 0 / 1.024 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.337e-05/1.29, allocations: 3.938 kB / 1.024 GB, free: 2.184 MB / 0.6355 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.0006923/1.291, allocations: 370.8 kB / 1.025 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.291, allocations: 8.031 kB / 1.025 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/1.291, allocations: 11.09 kB / 1.025 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/1.291, allocations: 174.9 kB / 1.025 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/1.291, allocations: 4 kB / 1.025 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/1.291, allocations: 4 kB / 1.025 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/1.291, allocations: 51.88 kB / 1.025 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.291, allocations: 0 / 1.025 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/1.291, allocations: 0 / 1.025 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.291, allocations: 0 / 1.025 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/1.291, allocations: 26.88 kB / 1.025 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000738/1.292, allocations: 306.1 kB / 1.025 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/1.292, allocations: 42.12 kB / 1.025 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/1.293, allocations: 12.3 kB / 1.025 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/1.293, allocations: 10.44 kB / 1.025 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.293, allocations: 38.56 kB / 1.025 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/1.293, allocations: 0 / 1.025 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002033/1.293, allocations: 52.61 kB / 1.025 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/1.293, allocations: 51.41 kB / 1.025 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/1.293, allocations: 103.8 kB / 1.025 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/1.293, allocations: 29.33 kB / 1.025 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/1.293, allocations: 83.77 kB / 1.026 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/1.293, allocations: 7.906 kB / 1.026 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/1.293, allocations: 4 kB / 1.026 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.293, allocations: 321.1 kB / 1.026 GB, free: 388 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.722e-05/1.293, allocations: 11.56 kB / 1.026 GB, free: 380 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/1.293, allocations: 11.5 kB / 1.026 GB, free: 372 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.508e-05/1.293, allocations: 4 kB / 1.026 GB, free: 368 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.294, allocations: 0 / 1.026 GB, free: 368 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/1.294, allocations: 56.91 kB / 1.026 GB, free: 312 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.294, allocations: 9.562 kB / 1.026 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/1.294, allocations: 0 / 1.026 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/1.294, allocations: 0 / 1.026 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/1.294, allocations: 15.98 kB / 1.026 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.294, allocations: 3.953 kB / 1.026 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/1.294, allocations: 23.23 kB / 1.026 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/1.294, allocations: 3.938 kB / 1.026 GB, free: 260 kB / 0.6355 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 () * 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 9.176e-05/1.294, allocations: 105 kB / 1.026 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/1.294, allocations: 15.83 kB / 1.026 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/1.294, allocations: 57.28 kB / 1.026 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.294, allocations: 0 / 1.026 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.294, allocations: 384 / 1.026 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/1.294, allocations: 3.953 kB / 1.026 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/1.295, allocations: 176.5 kB / 1.026 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.295, allocations: 0 / 1.026 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/1.295, allocations: 19.31 kB / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.295, allocations: 4 kB / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/1.295, allocations: 3.984 kB / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.295, allocations: 0 / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.295, allocations: 0 / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/1.295, allocations: 151 kB / 1.027 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/1.295, allocations: 81.02 kB / 1.027 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/1.295, allocations: 0 / 1.027 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/1.296, allocations: 23.98 kB / 1.027 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/1.296, allocations: 11.45 kB / 1.027 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/1.296, allocations: 3.984 kB / 1.027 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.306e-05/1.296, allocations: 87.09 kB / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.296, allocations: 0 / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002688/1.296, allocations: 4 kB / 1.027 GB, free: 15.46 MB / 0.6511 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) * 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.0001664/1.296, allocations: 111.2 kB / 1.027 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001424/1.296, allocations: 30.12 kB / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.296, allocations: 0 / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.805e-05/1.296, allocations: 15.23 kB / 1.027 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/1.297, allocations: 6.406 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/1.297, allocations: 75.8 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/1.297, allocations: 0.6848 MB / 1.028 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.119e-05/1.297, allocations: 8.25 kB / 1.028 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/1.297, allocations: 7.438 kB / 1.028 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of SimCode: time 7.82e-07/1.297, allocations: 0 / 1.028 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of Templates: time 0.003688/1.301, allocations: 0.6301 MB / 1.028 GB, free: 13.87 MB / 0.6511 GB