Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01525/0.01525, allocations: 112.4 kB / 15.06 MB, free: 5.961 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.001825/0.001825, allocations: 186 kB / 15.94 MB, free: 5.926 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.886/1.886, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.582/2.582, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.000467, allocations: 16 kB / 0.587 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7045/0.7049, allocations: 98.71 MB / 0.6834 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/0.8917, allocations: 124.6 MB / 0.805 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.892, allocations: 75.89 kB / 0.8051 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003454/0.8954, allocations: 0.9474 MB / 0.806 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.432e-06/0.8955, allocations: 0 / 0.806 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.8955, allocations: 4 kB / 0.806 GB, free: 0.5859 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005536/0.8961, allocations: 383.1 kB / 0.8064 GB, free: 168 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.8961, allocations: 12.03 kB / 0.8064 GB, free: 156 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.8962, allocations: 0 / 0.8064 GB, free: 156 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.8963, allocations: 178.9 kB / 0.8065 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.8964, allocations: 8 kB / 0.8066 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.8964, allocations: 4 kB / 0.8066 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.8966, allocations: 61.67 kB / 0.8066 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.8967, allocations: 0 / 0.8066 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.8967, allocations: 4 kB / 0.8066 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-06/0.8967, allocations: 0 / 0.8066 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.8969, allocations: 55.95 kB / 0.8067 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.8976, allocations: 304.7 kB / 0.807 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.8979, allocations: 58.55 kB / 0.807 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.8979, allocations: 0 / 0.807 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.898, allocations: 38.5 kB / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 4.819e-06/0.898, allocations: 0 / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004599/0.8985, allocations: 117.6 kB / 0.8072 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.8985, allocations: 59.36 kB / 0.8072 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.8986, allocations: 105 kB / 0.8073 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.8987, allocations: 25.7 kB / 0.8073 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.8987, allocations: 84.14 kB / 0.8074 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.8988, allocations: 15.97 kB / 0.8074 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-06/0.8988, allocations: 0 / 0.8074 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.899, allocations: 314.8 kB / 0.8077 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.8991, allocations: 27.98 kB / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.8992, allocations: 23.98 kB / 0.8078 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.8993, allocations: 32.28 kB / 0.8078 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-06/0.8994, allocations: 0 / 0.8078 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002981/0.8997, allocations: 93.56 kB / 0.8079 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.8997, allocations: 5.406 kB / 0.8079 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8997, allocations: 3.938 kB / 0.8079 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.8997, allocations: 0 / 0.8079 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.8998, allocations: 15.98 kB / 0.8079 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.8999, allocations: 7.953 kB / 0.8079 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.9, allocations: 23.92 kB / 0.808 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.9, allocations: 4 kB / 0.808 GB, free: 14.35 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.891e-05/0.9002, allocations: 106.2 kB / 0.8081 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.9002, allocations: 4 kB / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.9005, allocations: 101.5 kB / 0.8082 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.255e-06/0.9006, allocations: 0 / 0.8082 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.853e-06/0.9006, allocations: 4 kB / 0.8082 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.848e-06/0.9006, allocations: 3.953 kB / 0.8082 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.9008, allocations: 169.6 kB / 0.8083 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-06/0.9009, allocations: 0 / 0.8083 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-05/0.9009, allocations: 15.98 kB / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.901, allocations: 0 / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.901, allocations: 0 / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.901, allocations: 0 / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.901, allocations: 0 / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.9014, allocations: 191.2 kB / 0.8085 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.9014, allocations: 81.11 kB / 0.8086 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.9015, allocations: 4 kB / 0.8086 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.9016, allocations: 19.97 kB / 0.8086 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.9017, allocations: 15.98 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.9017, allocations: 0 / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.634e-05/0.9018, allocations: 91.27 kB / 0.8087 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.9e-07/0.9018, allocations: 0 / 0.8087 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003403/0.9022, allocations: 8 kB / 0.8088 GB, free: 13.45 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001363/0.9023, allocations: 99.25 kB / 0.8088 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.9026, allocations: 59.95 kB / 0.8089 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.254e-06/0.9026, allocations: 3.938 kB / 0.8089 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.9028, allocations: 27.98 kB / 0.8089 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.903, allocations: 12.17 kB / 0.8089 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.9034, allocations: 138.6 kB / 0.8091 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.9038, allocations: 0.6809 MB / 0.8097 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.9038, allocations: 11.89 kB / 0.8098 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.9039, allocations: 7.438 kB / 0.8098 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of SimCode: time 1.466e-06/0.9039, allocations: 4 kB / 0.8098 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.003159/0.907, allocations: 0.6164 MB / 0.8104 GB, free: 11.73 MB / 0.6355 GB