Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009034/0.009038, allocations: 108.6 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.001121/0.001121, allocations: 180 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 2.025/2.025, allocations: 194.6 MB / 211.3 MB, free: 11 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.256/2.256, allocations: 236.2 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004763, allocations: 15.98 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5837, allocations: 98.71 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001154/0.5849, allocations: 0.9192 MB / 0.6842 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007505/0.5857, allocations: 356.2 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.5857, allocations: 4 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.5858, allocations: 3.938 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.733e-05/0.5858, allocations: 1.312 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.5862, allocations: 69.41 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.281e-05/0.5863, allocations: 10.38 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.5863, allocations: 5.797 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.5864, allocations: 8.359 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.14e-05/0.5864, allocations: 13.61 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.5864, allocations: 1.031 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.5866, allocations: 67.64 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.5867, allocations: 7.016 kB / 0.6848 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.5867, allocations: 31.17 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.5868, allocations: 59.44 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.382e-06/0.5869, allocations: 0 / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.181e-06/0.5869, allocations: 0 / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.349e-06/0.5869, allocations: 1.625 kB / 0.6848 GB, free: 15.76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000363/0.5873, allocations: 365.4 kB / 0.6852 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5873, allocations: 10.44 kB / 0.6852 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.5874, allocations: 1.219 kB / 0.6852 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.912e-05/0.5874, allocations: 170.2 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.5875, allocations: 1.859 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.5875, allocations: 6.406 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5876, allocations: 34.59 kB / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.602e-06/0.5876, allocations: 1.219 kB / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.5877, allocations: 4.594 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-06/0.5877, allocations: 0 / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.5877, allocations: 12.58 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.5878, allocations: 157.5 kB / 0.6856 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.493e-05/0.5879, allocations: 28.42 kB / 0.6856 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.793e-06/0.588, allocations: 1.062 kB / 0.6856 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.5881, allocations: 54.33 kB / 0.6857 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.431e-06/0.5881, allocations: 0 / 0.6857 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002205/0.5884, allocations: 69.61 kB / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.5884, allocations: 62.19 kB / 0.6858 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.291e-05/0.5885, allocations: 94.2 kB / 0.6859 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.5885, allocations: 26.8 kB / 0.6859 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/0.5885, allocations: 84.14 kB / 0.686 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.5886, allocations: 11.06 kB / 0.686 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-06/0.5886, allocations: 0 / 0.686 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.5886, allocations: 321.4 kB / 0.6863 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.5887, allocations: 6.297 kB / 0.6863 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.03e-05/0.5887, allocations: 36.83 kB / 0.6863 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.5888, allocations: 14.52 kB / 0.6863 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-06/0.5888, allocations: 1.562 kB / 0.6863 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001305/0.5889, allocations: 64.08 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.589, allocations: 7.625 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.92e-06/0.589, allocations: 6.188 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.589, allocations: 1.469 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.5891, allocations: 11.3 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.471e-06/0.5891, allocations: 2.469 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.5891, allocations: 5.312 kB / 0.6864 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.5892, allocations: 2.562 kB / 0.6864 GB, free: 14.08 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.592e-05/0.5892, allocations: 121.2 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.5893, allocations: 2.266 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.5893, allocations: 3.5 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-06/0.5893, allocations: 5 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.994e-06/0.5893, allocations: 6.266 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.569e-06/0.5893, allocations: 0 / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.472e-05/0.5894, allocations: 156.8 kB / 0.6867 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-06/0.5894, allocations: 0 / 0.6867 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.5895, allocations: 3.25 kB / 0.6867 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5895, allocations: 0 / 0.6867 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.5895, allocations: 1.906 kB / 0.6867 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.76e-06/0.5895, allocations: 1.156 kB / 0.6867 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.871e-06/0.5895, allocations: 4 kB / 0.6867 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.5897, allocations: 87.72 kB / 0.6868 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.5897, allocations: 83.41 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.5897, allocations: 6.328 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.905e-05/0.5898, allocations: 0 / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.5898, allocations: 2.906 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.589e-06/0.5898, allocations: 1.531 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.5899, allocations: 78.61 kB / 0.687 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.55e-07/0.5899, allocations: 4.094 kB / 0.687 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003379/0.5902, allocations: 27.38 kB / 0.687 GB, free: 13.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003575/0.5906, allocations: 166.1 kB / 0.6872 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.5907, allocations: 28.61 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5908, allocations: 192 / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.5908, allocations: 12.94 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.5909, allocations: 8.297 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.5912, allocations: 118.2 kB / 0.6873 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.5914, allocations: 0.6778 MB / 0.688 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.5914, allocations: 2.812 kB / 0.688 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.5914, allocations: 10.47 kB / 0.688 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.484e-06/0.5914, allocations: 7.938 kB / 0.688 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.003896/0.5953, allocations: 0.9205 MB / 0.6889 GB, free: 12.4 MB / 0.5261 GB