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.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009145/0.009149, allocations: 107.7 kB / 15.06 MB, free: 5.562 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.001097/0.001097, allocations: 180.9 kB / 15.95 MB, free: 5.523 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.86/1.86, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.427/2.427, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004876, allocations: 12 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.639, allocations: 98.71 MB / 0.6833 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005408/0.6444, allocations: 2.619 MB / 0.6859 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003212/0.6477, allocations: 0.9476 MB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006779/0.6485, allocations: 15.97 kB / 0.6868 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.6486, allocations: 33.06 kB / 0.6869 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007726/0.6494, allocations: 113.5 kB / 0.687 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.6505, allocations: 186.2 kB / 0.6871 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.6516, allocations: 343.8 kB / 0.6875 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000586/0.6522, allocations: 173.4 kB / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.6527, allocations: 148.8 kB / 0.6878 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.653, allocations: 149.7 kB / 0.6879 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-05/0.6531, allocations: 13.56 kB / 0.6879 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.6532, allocations: 12.81 kB / 0.6879 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.6533, allocations: 61.25 kB / 0.688 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.6535, allocations: 100.4 kB / 0.6881 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008391/0.6544, allocations: 414.8 kB / 0.6885 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.374e-06/0.6544, allocations: 3.938 kB / 0.6885 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.396e-06/0.6544, allocations: 0 / 0.6885 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.6544, allocations: 0 / 0.6885 GB, free: 13.33 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001902/0.6564, allocations: 0.6954 MB / 0.6892 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.6564, allocations: 9.531 kB / 0.6892 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.6567, allocations: 59.38 kB / 0.6892 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.6578, allocations: 393.3 kB / 0.6896 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.6e-05/0.6579, allocations: 32.12 kB / 0.6896 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.658, allocations: 42.95 kB / 0.6897 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.6595, allocations: 389.5 kB / 0.6901 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.6596, allocations: 1.031 kB / 0.6901 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.6597, allocations: 20.66 kB / 0.6901 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.6597, allocations: 8.531 kB / 0.6901 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.6611, allocations: 261.3 kB / 0.6903 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.6648, allocations: 1.337 MB / 0.6916 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.6663, allocations: 319.9 kB / 0.6919 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.6664, allocations: 3.406 kB / 0.692 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007423/0.6671, allocations: 176.3 kB / 0.6921 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 6.119e-06/0.6672, allocations: 0 / 0.6921 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001887/0.6691, allocations: 384.8 kB / 0.6925 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.6692, allocations: 87.08 kB / 0.6926 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008075/0.6701, allocations: 349.9 kB / 0.6929 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/0.6701, allocations: 33.73 kB / 0.6929 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.6704, allocations: 234.1 kB / 0.6932 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.6706, allocations: 105.2 kB / 0.6933 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.6707, allocations: 9.188 kB / 0.6933 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6708, allocations: 352.6 kB / 0.6936 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.6714, allocations: 101.3 kB / 0.6937 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.672, allocations: 172.2 kB / 0.6939 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/0.6726, allocations: 118.2 kB / 0.694 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.173e-06/0.6726, allocations: 1.406 kB / 0.694 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001491/0.6741, allocations: 342.2 kB / 0.6943 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.6743, allocations: 0.6189 MB / 0.6949 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.6744, allocations: 2.031 kB / 0.6949 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/0.6744, allocations: 3.969 kB / 0.6949 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.6751, allocations: 65.7 kB / 0.695 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.6751, allocations: 8.172 kB / 0.695 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/0.6756, allocations: 50.67 kB / 0.695 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.6757, allocations: 13.95 kB / 0.695 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6757, allocations: 4.531 kB / 0.6951 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/0.6769, allocations: 277.8 kB / 0.6953 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.084e-06/0.6769, allocations: 2.625 kB / 0.6953 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.677, allocations: 6.5 kB / 0.6953 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.6775, allocations: 68.34 kB / 0.6954 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.6775, allocations: 5.75 kB / 0.6954 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.6781, allocations: 43.27 kB / 0.6954 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.6782, allocations: 8.594 kB / 0.6954 GB, free: 8.621 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0004691/0.6786, allocations: 251.7 kB / 0.6957 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.6788, allocations: 41.59 kB / 0.6957 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.679, allocations: 42.66 kB / 0.6958 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.679, allocations: 11.62 kB / 0.6958 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.679, allocations: 1.25 kB / 0.6958 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.679, allocations: 1.406 kB / 0.6958 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.6808, allocations: 0.8108 MB / 0.6966 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.917e-06/0.6809, allocations: 1.797 kB / 0.6966 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.6813, allocations: 51.66 kB / 0.6966 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.467e-06/0.6813, allocations: 2.094 kB / 0.6966 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.6813, allocations: 7.562 kB / 0.6966 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.633e-06/0.6814, allocations: 1.219 kB / 0.6966 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.288e-06/0.6814, allocations: 3.984 kB / 0.6966 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.6831, allocations: 0.5195 MB / 0.6971 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.6835, allocations: 139 kB / 0.6973 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.6836, allocations: 6.656 kB / 0.6973 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.6841, allocations: 29.38 kB / 0.6973 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.6843, allocations: 26.39 kB / 0.6973 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.6843, allocations: 11.84 kB / 0.6973 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005767/0.6849, allocations: 240 kB / 0.6976 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-06/0.6849, allocations: 0 / 0.6976 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00133/0.6863, allocations: 155.1 kB / 0.6977 GB, free: 7.168 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002005/0.6865, allocations: 110.2 kB / 0.6978 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001849/0.6884, allocations: 424.1 kB / 0.6982 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.939e-06/0.6884, allocations: 1.375 kB / 0.6982 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.6891, allocations: 140.8 kB / 0.6984 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009125/0.69, allocations: 76.12 kB / 0.6984 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.693, allocations: 0.9645 MB / 0.6994 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.6936, allocations: 0.8288 MB / 0.7002 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005979/0.6942, allocations: 50.44 kB / 0.7002 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.6944, allocations: 30.75 kB / 0.7003 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of SimCode: time 1.688e-06/0.6944, allocations: 0 / 0.7003 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of Templates: time 0.01709/0.7115, allocations: 3.425 MB / 0.7036 GB, free: 4.137 MB / 0.5261 GB