Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.744/4.744, allocations: 0.5623 GB / 0.5775 GB, free: 3.336 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.002654/0.002653, allocations: 358 kB / 0.6446 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.328/4.328, allocations: 410.7 MB / 1.113 GB, free: 5.984 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.001853/0.001853, allocations: 184.9 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004887, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6966/0.6971, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.8978, allocations: 144.6 MB / 1.603 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.8981, allocations: 89.27 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02555/0.9237, allocations: 6.922 MB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9237, allocations: 1.469 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.059e-05/0.9238, allocations: 16.12 kB / 1.609 GB, free: 132.6 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001194/0.925, allocations: 0.6477 MB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.925, allocations: 11.62 kB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.9251, allocations: 47.44 kB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.9258, allocations: 383.2 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.9258, allocations: 25.38 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-05/0.9259, allocations: 28.5 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008277/0.9268, allocations: 362.1 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.9268, allocations: 9.391 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.9269, allocations: 17.59 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.9269, allocations: 11.94 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007431/0.9276, allocations: 241 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.9297, allocations: 1.245 MB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/0.9306, allocations: 291.4 kB / 1.613 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.931, allocations: 119.3 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.931, allocations: 5.5 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.9311, allocations: 39.39 kB / 1.613 GB, free: 129 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 2.725e-06/0.9311, allocations: 3.281 kB / 1.613 GB, free: 129 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.001075/0.9322, allocations: 348.3 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.9322, allocations: 162.2 kB / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.9327, allocations: 349.6 kB / 1.614 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.9328, allocations: 33.7 kB / 1.614 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.9329, allocations: 208.3 kB / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.933, allocations: 74.94 kB / 1.614 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.9331, allocations: 8 kB / 1.614 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.9331, allocations: 342.8 kB / 1.614 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.9335, allocations: 94.77 kB / 1.614 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.9338, allocations: 158.1 kB / 1.614 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.9342, allocations: 110.7 kB / 1.615 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.9342, allocations: 0 / 1.615 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008129/0.935, allocations: 300.6 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.9351, allocations: 7.938 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9351, allocations: 4.594 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.9351, allocations: 3.953 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.9356, allocations: 61.47 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.9356, allocations: 0 / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.936, allocations: 46.19 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.936, allocations: 8 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.000253/0.9363, allocations: 160 kB / 1.615 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.9364, allocations: 35.53 kB / 1.615 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.9365, allocations: 43.47 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.9365, allocations: 3.984 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.9365, allocations: 7.172 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9365, allocations: 0 / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000524/0.9371, allocations: 417.2 kB / 1.616 GB, free: 126 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9371, allocations: 0 / 1.616 GB, free: 126 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.9375, allocations: 49 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.9375, allocations: 0.9062 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.9376, allocations: 7.938 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.9376, allocations: 3.984 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9376, allocations: 0.5312 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.9387, allocations: 488.9 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.9389, allocations: 136.6 kB / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.939, allocations: 4 kB / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.9394, allocations: 29.77 kB / 1.616 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.9394, allocations: 19.97 kB / 1.616 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.9395, allocations: 9.891 kB / 1.616 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003383/0.9398, allocations: 251.1 kB / 1.617 GB, free: 125 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9398, allocations: 0 / 1.617 GB, free: 125 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004488/0.9403, allocations: 71.78 kB / 1.617 GB, free: 124.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.000144/0.9405, allocations: 109.7 kB / 1.617 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007352/0.9412, allocations: 225.8 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.9412, allocations: 1.281 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.9416, allocations: 113.2 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008309/0.9424, allocations: 81.27 kB / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.9443, allocations: 0.8699 MB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.9445, allocations: 0.8003 MB / 1.619 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.9448, allocations: 40.17 kB / 1.619 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.9449, allocations: 28.47 kB / 1.619 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.362e-06/0.9449, allocations: 0 / 1.619 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.01038/0.9553, allocations: 3.338 MB / 1.622 GB, free: 119.5 MB / 0.8542 GB