Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadModel(Buildings): time 3.759/3.759, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.943e-05, allocations: 3.891 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.19, allocations: 98.72 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2026/0.3927, allocations: 131.2 MB / 0.7628 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.393, allocations: 79.95 kB / 0.7629 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02649/0.4195, allocations: 6.952 MB / 0.7697 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.469e-06/0.4195, allocations: 0 / 0.7697 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.178e-05/0.4196, allocations: 20 kB / 0.7697 GB, free: 7.465 MB / 0.6511 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.001054/0.4207, allocations: 0.5957 MB / 0.7703 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4207, allocations: 8.031 kB / 0.7703 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.4208, allocations: 51.39 kB / 0.7703 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007007/0.4216, allocations: 376.3 kB / 0.7707 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.4216, allocations: 24.78 kB / 0.7707 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.4217, allocations: 32 kB / 0.7707 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.4224, allocations: 343.7 kB / 0.7711 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.4225, allocations: 0 / 0.7711 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.4225, allocations: 16 kB / 0.7711 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.4226, allocations: 8 kB / 0.7711 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/0.4231, allocations: 210.1 kB / 0.7713 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.4254, allocations: 1.244 MB / 0.7725 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.4261, allocations: 231.4 kB / 0.7727 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.4263, allocations: 97.23 kB / 0.7728 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.4264, allocations: 8.172 kB / 0.7728 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4264, allocations: 42.7 kB / 0.7729 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 3.019e-06/0.4264, allocations: 0 / 0.7729 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.0005714/0.427, allocations: 226 kB / 0.7731 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.4271, allocations: 154.2 kB / 0.7732 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.4276, allocations: 303.6 kB / 0.7735 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.4277, allocations: 29.7 kB / 0.7736 GB, free: 3.238 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.4279, allocations: 220.1 kB / 0.7738 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.69e-05/0.428, allocations: 70.91 kB / 0.7738 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.428, allocations: 8 kB / 0.7738 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.4283, allocations: 346.8 kB / 0.7742 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.4285, allocations: 72 kB / 0.7742 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.4287, allocations: 139.7 kB / 0.7744 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.429, allocations: 83.86 kB / 0.7745 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.968e-06/0.429, allocations: 4 kB / 0.7745 GB, free: 2.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005953/0.4296, allocations: 255 kB / 0.7747 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002528/0.4299, allocations: 455 kB / 0.7751 GB, free: 1.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.72e-06/0.4299, allocations: 4 kB / 0.7751 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4299, allocations: 8 kB / 0.7751 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.4303, allocations: 59.92 kB / 0.7752 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.51e-06/0.4303, allocations: 7.875 kB / 0.7752 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.4306, allocations: 47.72 kB / 0.7753 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.4307, allocations: 8 kB / 0.7753 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.935e-06/0.4307, allocations: 8 kB / 0.7753 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004678/0.4312, allocations: 199.3 kB / 0.7755 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.4312, allocations: 0 / 0.7755 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.58e-06/0.4312, allocations: 4 kB / 0.7755 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.4315, allocations: 39.98 kB / 0.7755 GB, free: 1.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4315, allocations: 7.938 kB / 0.7755 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.4318, allocations: 36 kB / 0.7755 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.4318, allocations: 15.97 kB / 0.7756 GB, free: 1.105 MB / 0.6511 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 () * 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.0001386/0.432, allocations: 116.9 kB / 0.7757 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/0.4321, allocations: 39.53 kB / 0.7757 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.4322, allocations: 39.25 kB / 0.7757 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4322, allocations: 0 / 0.7757 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.096e-06/0.4323, allocations: 7.938 kB / 0.7758 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.982e-06/0.4323, allocations: 4 kB / 0.7758 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006587/0.4329, allocations: 421.2 kB / 0.7762 GB, free: 448 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-06/0.433, allocations: 0 / 0.7762 GB, free: 448 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.4333, allocations: 43.97 kB / 0.7762 GB, free: 404 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.18e-06/0.4333, allocations: 4 kB / 0.7762 GB, free: 400 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.4334, allocations: 4 kB / 0.7762 GB, free: 396 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.829e-06/0.4334, allocations: 0 / 0.7762 GB, free: 396 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4334, allocations: 0 / 0.7762 GB, free: 396 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4282/0.8616, allocations: 423.9 kB / 0.7766 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.8619, allocations: 138.5 kB / 0.7767 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.8619, allocations: 10.08 kB / 0.7768 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.8623, allocations: 27.47 kB / 0.7768 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.8624, allocations: 20.2 kB / 0.7768 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.8624, allocations: 6.375 kB / 0.7768 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003747/0.8628, allocations: 242.7 kB / 0.777 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.74e-07/0.8628, allocations: 2.625 kB / 0.777 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006885/0.8635, allocations: 131.9 kB / 0.7772 GB, free: 137.5 MB / 0.6511 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) * 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.0001496/0.8637, allocations: 111.8 kB / 0.7773 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007238/0.8644, allocations: 303 kB / 0.7776 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8645, allocations: 0 / 0.7776 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.8647, allocations: 97.97 kB / 0.7777 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.8653, allocations: 73.95 kB / 0.7777 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.8666, allocations: 0.516 MB / 0.7782 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.867, allocations: 0.8025 MB / 0.779 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003938/0.8674, allocations: 60.84 kB / 0.7791 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.8675, allocations: 23.61 kB / 0.7791 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of SimCode: time 2.118e-06/0.8675, allocations: 3.844 kB / 0.7791 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.01294/0.8804, allocations: 4.032 MB / 0.783 GB, free: 136.3 MB / 0.6511 GB