Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.761/1.761, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 175.5 kB / 393.1 MB, free: 4.078 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 94 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 12 kB / 0.9224 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6641/0.6645, allocations: 121.3 MB / 1.041 GB, free: 58.47 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.00146/0.6661, allocations: 437.6 kB / 1.041 GB, free: 58.22 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.6673, allocations: 0.8226 MB / 1.042 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.6674, allocations: 0 / 1.042 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.6674, allocations: 5.438 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.6675, allocations: 1.375 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.6677, allocations: 15.25 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.428e-05/0.6679, allocations: 38.53 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.668, allocations: 13.66 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.6681, allocations: 20.09 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.6682, allocations: 18.12 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.6682, allocations: 1.375 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.6682, allocations: 4.969 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.6683, allocations: 6.672 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.6683, allocations: 43.05 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.6684, allocations: 40.39 kB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.6685, allocations: 4 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.368e-06/0.6685, allocations: 0 / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.6685, allocations: 5.156 kB / 1.042 GB, free: 57.48 MB / 0.698 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.0006998/0.6692, allocations: 387.8 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.6692, allocations: 9.562 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.6693, allocations: 7.5 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.6694, allocations: 166.7 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.6694, allocations: 1.719 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.6695, allocations: 3.438 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.6697, allocations: 71.69 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6697, allocations: 192 / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.6698, allocations: 5.062 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.6698, allocations: 1.844 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.67, allocations: 59.8 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.6705, allocations: 307.6 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.6708, allocations: 56.2 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.6709, allocations: 29.98 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.671, allocations: 1.641 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.671, allocations: 37.73 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.275e-06/0.671, allocations: 4.828 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003846/0.6714, allocations: 110.4 kB / 1.044 GB, free: 56.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.6714, allocations: 56.53 kB / 1.044 GB, free: 56.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.6715, allocations: 114.5 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.6715, allocations: 26.23 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.6716, allocations: 95.61 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.6716, allocations: 3.906 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.6716, allocations: 0.5938 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.6717, allocations: 321.1 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.432e-05/0.6718, allocations: 30.23 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.6719, allocations: 29.12 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.672, allocations: 57.19 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.672, allocations: 0 / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002021/0.6722, allocations: 92.73 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6723, allocations: 10.94 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6723, allocations: 0 / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6723, allocations: 1.078 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.6724, allocations: 13.81 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.6724, allocations: 7.219 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.6725, allocations: 20.06 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.6725, allocations: 0 / 1.044 GB, free: 55.73 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.548e-05/0.6726, allocations: 126.2 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.6726, allocations: 0 / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.6729, allocations: 93.81 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.6729, allocations: 0 / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6729, allocations: 4 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6729, allocations: 4 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.6731, allocations: 172.4 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6731, allocations: 0 / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.6731, allocations: 11.92 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.6731, allocations: 1.375 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.6732, allocations: 0 / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6732, allocations: 384 / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6732, allocations: 1.25 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.6734, allocations: 185.8 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.6734, allocations: 79.17 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.6735, allocations: 6.562 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.6736, allocations: 28.75 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.6737, allocations: 4.688 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.6737, allocations: 3.938 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.778e-05/0.6738, allocations: 92.11 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.6738, allocations: 0 / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001989/0.674, allocations: 6.719 kB / 1.045 GB, free: 55.02 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/0.6741, allocations: 112.5 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.6744, allocations: 56.27 kB / 1.045 GB, free: 54.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6744, allocations: 0 / 1.045 GB, free: 54.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.6745, allocations: 33.52 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.6748, allocations: 17.16 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.6751, allocations: 136.7 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.6753, allocations: 0.6829 MB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.583e-05/0.6753, allocations: 4.703 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.6753, allocations: 14.77 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/0.6754, allocations: 0 / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of Templates: time 0.002681/0.678, allocations: 0.6486 MB / 1.047 GB, free: 53.99 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)