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.004191/0.004195, allocations: 238.7 kB / 15.8 MB, free: 6.285 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.001079/0.001079, allocations: 180.7 kB / 16.69 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.848/3.848, allocations: 389.1 MB / 406.5 MB, free: 11.86 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.137/4.137, allocations: 472.3 MB / 0.9024 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004705, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1714, allocations: 98.71 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001636/0.1731, allocations: 0.9298 MB / 1.105 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1742, allocations: 353.5 kB / 1.106 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.1743, allocations: 7.938 kB / 1.106 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.1743, allocations: 1.875 kB / 1.106 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.912e-05/0.1744, allocations: 3.984 kB / 1.106 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.1749, allocations: 63.75 kB / 1.106 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.032e-05/0.175, allocations: 11.98 kB / 1.106 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.1751, allocations: 11.45 kB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.1751, allocations: 7.984 kB / 1.106 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.609e-05/0.1752, allocations: 7.938 kB / 1.106 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1752, allocations: 0 / 1.106 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.1755, allocations: 83.84 kB / 1.106 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.1755, allocations: 3.938 kB / 1.106 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.1756, allocations: 29.7 kB / 1.106 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1758, allocations: 55.91 kB / 1.106 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1758, allocations: 0 / 1.106 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1758, allocations: 3.5 kB / 1.106 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1758, allocations: 0 / 1.106 GB, free: 40.51 MB / 0.6042 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.000462/0.1763, allocations: 365 kB / 1.106 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1764, allocations: 12.02 kB / 1.106 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.1764, allocations: 11.95 kB / 1.106 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.1765, allocations: 159.4 kB / 1.107 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.1766, allocations: 0 / 1.107 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1766, allocations: 9.406 kB / 1.107 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1767, allocations: 34.95 kB / 1.107 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1768, allocations: 0 / 1.107 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1768, allocations: 3.938 kB / 1.107 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1768, allocations: 6.922 kB / 1.107 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.1769, allocations: 11.92 kB / 1.107 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.177, allocations: 157.7 kB / 1.107 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1772, allocations: 26.58 kB / 1.107 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.1773, allocations: 19.69 kB / 1.107 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.1773, allocations: 3.938 kB / 1.107 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.1775, allocations: 56.28 kB / 1.107 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.535e-06/0.1775, allocations: 0 / 1.107 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002802/0.1778, allocations: 68.52 kB / 1.107 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1778, allocations: 51.41 kB / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.198e-05/0.1779, allocations: 101.8 kB / 1.107 GB, free: 39.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1779, allocations: 25.7 kB / 1.107 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.178, allocations: 84.14 kB / 1.107 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.178, allocations: 15.8 kB / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.178, allocations: 2.781 kB / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/0.1781, allocations: 314.8 kB / 1.108 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.1782, allocations: 7.984 kB / 1.108 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.1782, allocations: 31.44 kB / 1.108 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.032e-05/0.1783, allocations: 19.61 kB / 1.108 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1783, allocations: 0 / 1.108 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001712/0.1785, allocations: 65.61 kB / 1.108 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1785, allocations: 8 kB / 1.108 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1786, allocations: 1.188 kB / 1.108 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1786, allocations: 4.984 kB / 1.108 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1787, allocations: 4 kB / 1.108 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.1787, allocations: 6.969 kB / 1.108 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/0.1788, allocations: 7.953 kB / 1.108 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1788, allocations: 4 kB / 1.108 GB, free: 38.62 MB / 0.6042 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 8.079e-05/0.1789, allocations: 113.8 kB / 1.108 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.1789, allocations: 4 kB / 1.108 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.179, allocations: 3.5 kB / 1.108 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.179, allocations: 2.969 kB / 1.108 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.179, allocations: 0 / 1.108 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.1791, allocations: 81.02 kB / 1.108 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1791, allocations: 7.891 kB / 1.108 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.992e-05/0.1791, allocations: 0 / 1.108 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.1792, allocations: 9.016 kB / 1.108 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001787/0.1794, allocations: 132.9 kB / 1.108 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002099/0.1796, allocations: 229.6 kB / 1.108 GB, free: 38 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.63e-05/0.1797, allocations: 18.56 kB / 1.108 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.652e-05/0.1797, allocations: 75.28 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of Backend: time 8.01e-07/0.1797, allocations: 3.25 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009975/0.1807, allocations: 165.9 kB / 1.109 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003998/0.1812, allocations: 0.5629 MB / 1.109 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.005325/0.1865, allocations: 0.9486 MB / 1.11 GB, free: 36.28 MB / 0.6042 GB