Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.225/2.225, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001686/0.001686, allocations: 188.5 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.48/2.48, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001143/0.001144, allocations: 98.36 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004775, allocations: 9.844 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2217, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.004807/0.2266, allocations: 2.5 MB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.2292, allocations: 0.8858 MB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003465/0.2296, allocations: 11.94 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.958e-05/0.2297, allocations: 39.64 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006303/0.2303, allocations: 111.6 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.2311, allocations: 155 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007136/0.2319, allocations: 308 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.2323, allocations: 149 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.2327, allocations: 135.3 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.233, allocations: 123.3 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.86e-05/0.233, allocations: 8 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.2331, allocations: 12 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.2332, allocations: 55.69 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.587e-05/0.2333, allocations: 93.45 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.2339, allocations: 363.4 kB / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2339, allocations: 0 / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.234, allocations: 0 / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.234, allocations: 0 / 0.9037 GB, free: 60.53 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001726/0.2357, allocations: 0.6543 MB / 0.9043 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.2358, allocations: 12.03 kB / 0.9043 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.2359, allocations: 55.33 kB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009672/0.2369, allocations: 379.4 kB / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.237, allocations: 20.66 kB / 0.9048 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.481e-05/0.2371, allocations: 24 kB / 0.9048 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.2382, allocations: 341.1 kB / 0.9051 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/0.2383, allocations: 3.938 kB / 0.9051 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.2383, allocations: 12 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.2384, allocations: 8 kB / 0.9051 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.2394, allocations: 222.1 kB / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.2421, allocations: 1.186 MB / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.2432, allocations: 235.3 kB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.373e-05/0.2433, allocations: 4.188 kB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.2433, allocations: 42.73 kB / 0.9068 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.767e-06/0.2433, allocations: 0 / 0.9068 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.001345/0.2447, allocations: 303.8 kB / 0.9071 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.2448, allocations: 106.8 kB / 0.9072 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.2454, allocations: 333.7 kB / 0.9075 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.2455, allocations: 29.7 kB / 0.9075 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.2456, allocations: 220.2 kB / 0.9077 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.2457, allocations: 82.83 kB / 0.9078 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.2458, allocations: 4 kB / 0.9078 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.2458, allocations: 346.8 kB / 0.9081 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.2462, allocations: 75.97 kB / 0.9082 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.2465, allocations: 143.7 kB / 0.9083 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.2469, allocations: 88.59 kB / 0.9084 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2469, allocations: 4.031 kB / 0.9084 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008239/0.2477, allocations: 279.2 kB / 0.9087 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2478, allocations: 8 kB / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.2478, allocations: 0 / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.2478, allocations: 7.953 kB / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.2483, allocations: 56.09 kB / 0.9088 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2483, allocations: 4 kB / 0.9088 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.2487, allocations: 43.75 kB / 0.9088 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2487, allocations: 11.98 kB / 0.9088 GB, free: 54.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 31 * 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.0002287/0.2489, allocations: 157.8 kB / 0.909 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.249, allocations: 43.53 kB / 0.909 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.2491, allocations: 35.36 kB / 0.909 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2492, allocations: 0 / 0.909 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2492, allocations: 7.953 kB / 0.909 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2492, allocations: 3.984 kB / 0.9091 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.2497, allocations: 393.3 kB / 0.9094 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2497, allocations: 0 / 0.9094 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.2502, allocations: 43.92 kB / 0.9095 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2502, allocations: 0 / 0.9095 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.2502, allocations: 7.938 kB / 0.9095 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2502, allocations: 7.984 kB / 0.9095 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2502, allocations: 4 kB / 0.9095 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2513, allocations: 434.2 kB / 0.9099 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.2514, allocations: 136.6 kB / 0.91 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.2515, allocations: 4 kB / 0.91 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.2518, allocations: 23.97 kB / 0.9101 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.2519, allocations: 19.97 kB / 0.9101 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.252, allocations: 4 kB / 0.9101 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002941/0.2523, allocations: 239.1 kB / 0.9103 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2523, allocations: 0 / 0.9103 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004435/0.2527, allocations: 67.84 kB / 0.9104 GB, free: 53.27 MB / 0.6042 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.0001171/0.2529, allocations: 107.2 kB / 0.9105 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006454/0.2535, allocations: 198.7 kB / 0.9107 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2535, allocations: 384 / 0.9107 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.2538, allocations: 103.9 kB / 0.9108 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.2546, allocations: 68.19 kB / 0.9108 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.2564, allocations: 0.8528 MB / 0.9117 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.2567, allocations: 0.7992 MB / 0.9124 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002852/0.257, allocations: 34.95 kB / 0.9125 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.2571, allocations: 27.44 kB / 0.9125 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of SimCode: time 1.322e-06/0.2572, allocations: 0 / 0.9125 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.009477/0.2666, allocations: 2.844 MB / 0.9153 GB, free: 48.21 MB / 0.6042 GB