Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009837/0.009841, allocations: 108.5 kB / 15.06 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001124/0.001124, allocations: 180.4 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.918/1.918, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.135/2.135, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004635, allocations: 16 kB / 0.5869 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7131/0.7136, allocations: 98.71 MB / 0.6833 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.003137/0.7168, allocations: 2.487 MB / 0.6857 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.7184, allocations: 0.8872 MB / 0.6866 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.7187, allocations: 16.94 kB / 0.6866 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 7.733e-05/0.7187, allocations: 31.95 kB / 0.6867 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.7192, allocations: 103.1 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.7197, allocations: 167.8 kB / 0.6869 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.7201, allocations: 311.8 kB / 0.6872 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.7205, allocations: 148 kB / 0.6874 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.7207, allocations: 137.8 kB / 0.6875 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.7209, allocations: 124.4 kB / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.721, allocations: 14.58 kB / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.721, allocations: 11.12 kB / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.7211, allocations: 49.2 kB / 0.6877 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.403e-05/0.7212, allocations: 91.86 kB / 0.6878 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.7217, allocations: 357.9 kB / 0.6881 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.652e-06/0.7217, allocations: 0 / 0.6881 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.631e-06/0.7217, allocations: 0 / 0.6881 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.7217, allocations: 3.938 kB / 0.6881 GB, free: 13.52 MB / 0.5261 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.001031/0.7228, allocations: 0.6509 MB / 0.6887 GB, free: 13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7228, allocations: 14.67 kB / 0.6888 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.7229, allocations: 50.64 kB / 0.6888 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006173/0.7236, allocations: 381.6 kB / 0.6892 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.7236, allocations: 28.75 kB / 0.6892 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.7237, allocations: 27.95 kB / 0.6892 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.7244, allocations: 336.7 kB / 0.6895 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.7245, allocations: 0 / 0.6895 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.7245, allocations: 11.56 kB / 0.6896 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.7245, allocations: 7.344 kB / 0.6896 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006648/0.7252, allocations: 220.4 kB / 0.6898 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.727, allocations: 1.197 MB / 0.6909 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/0.7278, allocations: 235.2 kB / 0.6912 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.7278, allocations: 2.891 kB / 0.6912 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.7279, allocations: 40.97 kB / 0.6912 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 2.924e-06/0.7279, allocations: 0 / 0.6912 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.0008852/0.7288, allocations: 299.5 kB / 0.6915 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.7288, allocations: 110 kB / 0.6916 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.7293, allocations: 330.3 kB / 0.6919 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.7293, allocations: 31.33 kB / 0.6919 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.7295, allocations: 226.4 kB / 0.6922 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.709e-05/0.7296, allocations: 79.23 kB / 0.6922 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.7296, allocations: 4.969 kB / 0.6922 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.7297, allocations: 345.5 kB / 0.6926 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.73, allocations: 77.47 kB / 0.6926 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.7303, allocations: 150.3 kB / 0.6928 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.7306, allocations: 92.7 kB / 0.6929 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7306, allocations: 4.031 kB / 0.6929 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006887/0.7313, allocations: 283.7 kB / 0.6932 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.7315, allocations: 0.6267 MB / 0.6938 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.293e-06/0.7315, allocations: 2.875 kB / 0.6938 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.7315, allocations: 3.656 kB / 0.6938 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.7318, allocations: 57.08 kB / 0.6938 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.62e-06/0.7319, allocations: 2.328 kB / 0.6938 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.7321, allocations: 39.39 kB / 0.6939 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.7322, allocations: 8.328 kB / 0.6939 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.275e-06/0.7322, allocations: 3.844 kB / 0.6939 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005191/0.7327, allocations: 216.3 kB / 0.6941 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.32e-06/0.7327, allocations: 2.766 kB / 0.6941 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.7328, allocations: 3.281 kB / 0.6941 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.733, allocations: 54.66 kB / 0.6941 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.719e-06/0.7331, allocations: 3.109 kB / 0.6941 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.7333, allocations: 37.08 kB / 0.6942 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.7333, allocations: 14.48 kB / 0.6942 GB, free: 9.152 MB / 0.5261 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.0002357/0.7336, allocations: 238.5 kB / 0.6944 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.539e-05/0.7337, allocations: 36.94 kB / 0.6945 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.507e-05/0.7338, allocations: 36.53 kB / 0.6945 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.721e-06/0.7338, allocations: 2.531 kB / 0.6945 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7e-06/0.7338, allocations: 1.672 kB / 0.6945 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.068e-06/0.7338, allocations: 1.312 kB / 0.6945 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.7344, allocations: 391.1 kB / 0.6949 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.179e-06/0.7344, allocations: 0 / 0.6949 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.7347, allocations: 43.05 kB / 0.6949 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.144e-06/0.7347, allocations: 5.875 kB / 0.6949 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.7348, allocations: 10.12 kB / 0.6949 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.7348, allocations: 5 kB / 0.6949 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.521e-06/0.7348, allocations: 1.625 kB / 0.6949 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.7357, allocations: 427.3 kB / 0.6953 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.7359, allocations: 135.9 kB / 0.6955 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/0.7359, allocations: 6.219 kB / 0.6955 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.7362, allocations: 17.33 kB / 0.6955 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.7363, allocations: 21.23 kB / 0.6955 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.7363, allocations: 4.984 kB / 0.6955 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003206/0.7367, allocations: 238 kB / 0.6957 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.647e-06/0.7367, allocations: 0 / 0.6957 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006533/0.7373, allocations: 127.8 kB / 0.6959 GB, free: 8.02 MB / 0.5261 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.0001165/0.7375, allocations: 108 kB / 0.696 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008621/0.7383, allocations: 323.1 kB / 0.6963 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.17e-06/0.7384, allocations: 7.938 kB / 0.6963 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.7386, allocations: 96.98 kB / 0.6964 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.7392, allocations: 73.55 kB / 0.6964 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.7407, allocations: 0.8438 MB / 0.6973 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.741, allocations: 0.8003 MB / 0.6981 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000285/0.7413, allocations: 42.88 kB / 0.6981 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.7415, allocations: 26.86 kB / 0.6981 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of SimCode: time 1.465e-06/0.7415, allocations: 0 / 0.6981 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of Templates: time 0.009672/0.7511, allocations: 3.001 MB / 0.7011 GB, free: 5.59 MB / 0.5261 GB