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.009006/0.009006, allocations: 108.2 kB / 15.06 MB, free: 6.039 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.001139/0.001138, allocations: 180.1 kB / 15.95 MB, free: 5.957 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.854/1.854, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.603/2.603, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.000487, allocations: 20 kB / 0.587 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5665/0.567, allocations: 98.7 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001418/0.5684, allocations: 1.121 MB / 0.6844 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003587/0.5688, allocations: 139.7 kB / 0.6846 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.5689, allocations: 1.031 kB / 0.6846 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.5689, allocations: 0.5156 kB / 0.6846 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.569, allocations: 9.297 kB / 0.6846 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.5691, allocations: 20.05 kB / 0.6846 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.5692, allocations: 22.98 kB / 0.6846 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.5693, allocations: 7.641 kB / 0.6846 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.5693, allocations: 15.27 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.5694, allocations: 21.75 kB / 0.6847 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.5694, allocations: 2.094 kB / 0.6847 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.5695, allocations: 1.094 kB / 0.6847 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.5695, allocations: 4.375 kB / 0.6847 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.5695, allocations: 38.77 kB / 0.6847 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.32e-05/0.5696, allocations: 33.09 kB / 0.6847 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.779e-06/0.5696, allocations: 0 / 0.6847 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.301e-06/0.5696, allocations: 0 / 0.6847 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.82e-06/0.5696, allocations: 0 / 0.6847 GB, free: 15.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005665/0.5702, allocations: 386.5 kB / 0.6851 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.5703, allocations: 9.406 kB / 0.6851 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.5703, allocations: 3.125 kB / 0.6851 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.945e-05/0.5704, allocations: 174.7 kB / 0.6853 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.5704, allocations: 1.219 kB / 0.6853 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.5704, allocations: 2.281 kB / 0.6853 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.5707, allocations: 73.94 kB / 0.6854 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.954e-06/0.5707, allocations: 7.922 kB / 0.6854 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.5707, allocations: 4.906 kB / 0.6854 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.5707, allocations: 0.9062 kB / 0.6854 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.571, allocations: 56.38 kB / 0.6854 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.5716, allocations: 298.9 kB / 0.6857 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.5719, allocations: 56.8 kB / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.572, allocations: 5.5 kB / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.572, allocations: 31.59 kB / 0.6858 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 4.118e-06/0.572, allocations: 0 / 0.6858 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004728/0.5725, allocations: 108.9 kB / 0.6859 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.5725, allocations: 55.97 kB / 0.686 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.052e-05/0.5726, allocations: 122.9 kB / 0.6861 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.5727, allocations: 25.7 kB / 0.6861 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.5727, allocations: 92.19 kB / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.5728, allocations: 6.656 kB / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-06/0.5728, allocations: 0 / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.5728, allocations: 317.5 kB / 0.6865 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.573, allocations: 29.47 kB / 0.6865 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.5731, allocations: 25.94 kB / 0.6866 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.5732, allocations: 24.8 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.2e-06/0.5732, allocations: 1.438 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002772/0.5735, allocations: 91.77 kB / 0.6867 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5735, allocations: 5.344 kB / 0.6867 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.785e-06/0.5736, allocations: 3.938 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5736, allocations: 0.7969 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.5737, allocations: 12.36 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.758e-06/0.5737, allocations: 7.891 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.5739, allocations: 24.38 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5739, allocations: 1.469 kB / 0.6867 GB, free: 13.9 MB / 0.5261 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.972e-05/0.574, allocations: 113.1 kB / 0.6868 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.574, allocations: 2.125 kB / 0.6868 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.5743, allocations: 90.53 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.345e-06/0.5744, allocations: 6.125 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.513e-06/0.5744, allocations: 0 / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.747e-06/0.5744, allocations: 3.953 kB / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.5746, allocations: 171.3 kB / 0.6871 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-06/0.5746, allocations: 1.594 kB / 0.6871 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/0.5747, allocations: 15.17 kB / 0.6871 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.271e-06/0.5747, allocations: 4.375 kB / 0.6871 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.5747, allocations: 5.797 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.259e-06/0.5747, allocations: 0 / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-06/0.5748, allocations: 0 / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.5751, allocations: 188.9 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.5751, allocations: 83.75 kB / 0.6874 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.5751, allocations: 1.5 kB / 0.6874 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5753, allocations: 19.81 kB / 0.6874 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/0.5754, allocations: 10.34 kB / 0.6874 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.389e-06/0.5754, allocations: 2.125 kB / 0.6874 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.5755, allocations: 90.27 kB / 0.6875 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.8e-07/0.5755, allocations: 0 / 0.6875 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003132/0.5758, allocations: 6.219 kB / 0.6875 GB, free: 13.18 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: 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.0001253/0.5759, allocations: 107.7 kB / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003917/0.5764, allocations: 65.08 kB / 0.6877 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.848e-06/0.5764, allocations: 0 / 0.6877 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.5765, allocations: 28.16 kB / 0.6877 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.5768, allocations: 7.922 kB / 0.6877 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.5771, allocations: 139.7 kB / 0.6878 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.5773, allocations: 0.6836 MB / 0.6885 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.277e-05/0.5773, allocations: 2.766 kB / 0.6885 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.5774, allocations: 10.39 kB / 0.6885 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of SimCode: time 1.599e-06/0.5774, allocations: 7.938 kB / 0.6885 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of Templates: time 0.003442/0.5808, allocations: 0.6243 MB / 0.6891 GB, free: 12.15 MB / 0.5261 GB