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.0104/0.0104, allocations: 220.8 kB / 15.17 MB, free: 5.996 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.001092/0.001092, allocations: 179.2 kB / 16.06 MB, free: 5.867 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.831/3.831, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.501/4.501, allocations: 472.3 MB / 0.9018 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 19.98 kB / 1.008 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.6069, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001493/0.6085, allocations: 1.126 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003537/0.6089, allocations: 139.8 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.6089, allocations: 4.25 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.6089, allocations: 1.125 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.095e-05/0.609, allocations: 3.938 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.6092, allocations: 15.62 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.016e-05/0.6092, allocations: 35.55 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.6093, allocations: 13.97 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.6094, allocations: 15.91 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.6095, allocations: 13.52 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.6095, allocations: 6.406 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.6095, allocations: 1.844 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.6095, allocations: 15.86 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.6096, allocations: 28.02 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.747e-05/0.6096, allocations: 26.66 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.079e-06/0.6097, allocations: 0 / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6097, allocations: 5.562 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.944e-06/0.6097, allocations: 0 / 1.105 GB, free: 212 MB / 0.7292 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.0005222/0.6102, allocations: 388.9 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.6103, allocations: 11.28 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.6103, allocations: 1.312 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/0.6104, allocations: 179.1 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.6104, allocations: 4 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.6104, allocations: 3.281 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.6107, allocations: 64.69 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.129e-06/0.6107, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.6107, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-06/0.6107, allocations: 7 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.6109, allocations: 51.36 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.6115, allocations: 305.7 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.6117, allocations: 62.48 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.6119, allocations: 31.53 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.6119, allocations: 2.5 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.6119, allocations: 33.12 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.081e-06/0.6119, allocations: 0 / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000426/0.6124, allocations: 118.5 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.6124, allocations: 54.62 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.6125, allocations: 111.2 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.6125, allocations: 33.67 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.6126, allocations: 91.64 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.6126, allocations: 6.438 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.6126, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.6127, allocations: 314.8 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.6128, allocations: 31.45 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.6129, allocations: 26.2 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.613, allocations: 24.45 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-06/0.6131, allocations: 3.25 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002636/0.6133, allocations: 94.38 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6134, allocations: 6.797 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.043e-06/0.6134, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6134, allocations: 3.219 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.6135, allocations: 14.98 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.742e-06/0.6135, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.6136, allocations: 29.53 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.6137, allocations: 3.531 kB / 1.107 GB, free: 210.3 MB / 0.7292 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 6.324e-05/0.6137, allocations: 105.8 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.6138, allocations: 3.281 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.6141, allocations: 98.83 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-06/0.6141, allocations: 0 / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.125e-06/0.6141, allocations: 3.953 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6141, allocations: 0 / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.6143, allocations: 171.1 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6143, allocations: 3.375 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.6144, allocations: 14.66 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.118e-06/0.6144, allocations: 7.125 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.962e-06/0.6144, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.239e-06/0.6144, allocations: 3.25 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.787e-06/0.6145, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.6147, allocations: 182.4 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.6148, allocations: 83.89 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.6148, allocations: 1.844 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.615, allocations: 23.25 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.615, allocations: 6.328 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-06/0.6151, allocations: 5.109 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.237e-05/0.6151, allocations: 91.36 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.4e-07/0.6151, allocations: 0 / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003056/0.6154, allocations: 10.86 kB / 1.108 GB, free: 209.6 MB / 0.7292 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.0001081/0.6156, allocations: 103 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.6158, allocations: 59.58 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6159, allocations: 0 / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.616, allocations: 39.55 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.6164, allocations: 14.66 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.6167, allocations: 130.2 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.6168, allocations: 0.684 MB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.09e-05/0.6169, allocations: 3.031 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.6169, allocations: 8.844 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.246e-06/0.6169, allocations: 0 / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.003224/0.6202, allocations: 0.6344 MB / 1.11 GB, free: 208.6 MB / 0.7292 GB