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.004417/0.004423, allocations: 228.8 kB / 15.82 MB, free: 6.293 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.001267/0.001266, allocations: 174 kB / 16.7 MB, free: 5.449 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 3.971/3.971, allocations: 389.1 MB / 406.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.281/4.281, allocations: 472.3 MB / 0.9024 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006457/0.000646, allocations: 12.22 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1825, allocations: 98.73 MB / 1.105 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7883/0.9709, allocations: 124.6 MB / 1.226 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.9712, allocations: 74.02 kB / 1.226 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004165/0.9754, allocations: 0.9565 MB / 1.227 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9755, allocations: 0 / 1.227 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.9755, allocations: 0 / 1.227 GB, free: 27.72 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.0006626/0.9762, allocations: 375.7 kB / 1.228 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.9762, allocations: 8.688 kB / 1.228 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.9763, allocations: 8.219 kB / 1.228 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.9764, allocations: 171.4 kB / 1.228 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.9764, allocations: 4.562 kB / 1.228 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.9765, allocations: 3.375 kB / 1.228 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.9767, allocations: 73.95 kB / 1.228 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.9768, allocations: 0.7969 kB / 1.228 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.9768, allocations: 2.203 kB / 1.228 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.9768, allocations: 0 / 1.228 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.9771, allocations: 57.88 kB / 1.228 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.9778, allocations: 306.8 kB / 1.228 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.9782, allocations: 52.28 kB / 1.228 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.9783, allocations: 36.92 kB / 1.228 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.9784, allocations: 0 / 1.228 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.9784, allocations: 34.06 kB / 1.228 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.294e-06/0.9784, allocations: 3.125 kB / 1.228 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005664/0.979, allocations: 116.6 kB / 1.229 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.979, allocations: 51.41 kB / 1.229 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.9792, allocations: 116.8 kB / 1.229 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.9792, allocations: 26.27 kB / 1.229 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.9793, allocations: 84.61 kB / 1.229 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.9793, allocations: 14.83 kB / 1.229 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.9793, allocations: 0 / 1.229 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.9795, allocations: 317.4 kB / 1.229 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.9797, allocations: 26.39 kB / 1.229 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.9798, allocations: 27.83 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.98, allocations: 32.33 kB / 1.229 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.98, allocations: 0 / 1.229 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003568/0.9804, allocations: 91.28 kB / 1.229 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9804, allocations: 5.109 kB / 1.229 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.9804, allocations: 3.438 kB / 1.229 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.9805, allocations: 0.5625 kB / 1.229 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.9806, allocations: 22.19 kB / 1.229 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.9806, allocations: 0 / 1.229 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.9808, allocations: 24.52 kB / 1.229 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.9808, allocations: 4 kB / 1.229 GB, free: 25.74 MB / 0.6198 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 0.0001074/0.981, allocations: 110.2 kB / 1.229 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.981, allocations: 4 kB / 1.229 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.9814, allocations: 93.55 kB / 1.23 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.9814, allocations: 0 / 1.23 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9814, allocations: 8.469 kB / 1.23 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.9815, allocations: 0 / 1.23 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.9816, allocations: 169 kB / 1.23 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.9817, allocations: 0 / 1.23 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.9818, allocations: 11.66 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.9818, allocations: 9.297 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.9818, allocations: 0 / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.9818, allocations: 0 / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9818, allocations: 1.078 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.9822, allocations: 186.3 kB / 1.23 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.9823, allocations: 85.81 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.9823, allocations: 4.359 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.9826, allocations: 19.95 kB / 1.23 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.9826, allocations: 11.48 kB / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.9827, allocations: 0 / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006293/0.9833, allocations: 89.92 kB / 1.23 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9833, allocations: 0 / 1.23 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003217/0.9836, allocations: 15.89 kB / 1.23 GB, free: 40.96 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.0001359/0.9838, allocations: 102.9 kB / 1.23 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.9842, allocations: 53.2 kB / 1.23 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9842, allocations: 7.625 kB / 1.23 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.9844, allocations: 35.81 kB / 1.23 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.9847, allocations: 5.594 kB / 1.23 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.9851, allocations: 132.4 kB / 1.23 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.9856, allocations: 0.6907 MB / 1.231 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.118e-05/0.9856, allocations: 0.6562 kB / 1.231 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.9857, allocations: 12 kB / 1.231 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/0.9857, allocations: 2.531 kB / 1.231 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.003726/0.9894, allocations: 0.6311 MB / 1.232 GB, free: 39.63 MB / 0.6355 GB