Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 255.9 MB / 271.2 MB, free: 8.895 MB / 218.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.0009839/0.0009839, allocations: 191 kB / 330.8 MB, free: 464 kB / 250.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.74/1.74, allocations: 225.7 MB / 0.6016 GB, free: 1.652 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008718, allocations: 92.41 kB / 0.709 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2074, allocations: 109.2 MB / 0.9328 GB, free: 6.219 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001257/0.2087, allocations: 1.135 MB / 0.9339 GB, free: 5.07 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0002814/0.209, allocations: 131.7 kB / 0.934 GB, free: 4.941 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.2091, allocations: 3.938 kB / 0.934 GB, free: 4.938 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.2091, allocations: 0 / 0.934 GB, free: 4.938 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.2091, allocations: 7.938 kB / 0.934 GB, free: 4.93 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.2093, allocations: 19.97 kB / 0.934 GB, free: 4.91 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 5.853e-05/0.2094, allocations: 35.92 kB / 0.9341 GB, free: 4.875 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.2095, allocations: 19.92 kB / 0.9341 GB, free: 4.855 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.2095, allocations: 7.938 kB / 0.9341 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.181e-05/0.2096, allocations: 15.92 kB / 0.9341 GB, free: 4.832 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.2096, allocations: 4 kB / 0.9341 GB, free: 4.828 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-06/0.2096, allocations: 0 / 0.9341 GB, free: 4.828 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.2096, allocations: 19.91 kB / 0.9341 GB, free: 4.809 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.2097, allocations: 37.64 kB / 0.9342 GB, free: 4.766 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 7.126e-05/0.2098, allocations: 39.86 kB / 0.9342 GB, free: 4.727 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2098, allocations: 0 / 0.9342 GB, free: 4.727 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2098, allocations: 0 / 0.9342 GB, free: 4.727 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.2098, allocations: 3.938 kB / 0.9342 GB, free: 4.723 MB / 0.573 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.0004925/0.2103, allocations: 387.7 kB / 0.9346 GB, free: 4.293 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.2103, allocations: 11.98 kB / 0.9346 GB, free: 4.281 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.2103, allocations: 4.938 kB / 0.9346 GB, free: 4.277 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.82e-05/0.2104, allocations: 172.2 kB / 0.9348 GB, free: 4.07 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.2104, allocations: 12.31 kB / 0.9348 GB, free: 4.059 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2105, allocations: 4.375 kB / 0.9348 GB, free: 4.055 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.2106, allocations: 70.22 kB / 0.9348 GB, free: 3.98 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2107, allocations: 192 / 0.9348 GB, free: 3.98 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.2107, allocations: 3.938 kB / 0.9348 GB, free: 3.977 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2107, allocations: 0 / 0.9348 GB, free: 3.977 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2108, allocations: 63.89 kB / 0.9349 GB, free: 3.914 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.2113, allocations: 300.7 kB / 0.9352 GB, free: 3.57 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.2115, allocations: 54.61 kB / 0.9352 GB, free: 3.508 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.2116, allocations: 36.92 kB / 0.9353 GB, free: 3.469 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.2116, allocations: 4 kB / 0.9353 GB, free: 3.465 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.184e-05/0.2116, allocations: 34.5 kB / 0.9353 GB, free: 3.422 MB / 0.573 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.2116, allocations: 0 / 0.9353 GB, free: 3.422 MB / 0.573 GB Notification: Performance of matching and sorting (n=3): time 0.0003236/0.2119, allocations: 109.6 kB / 0.9354 GB, free: 3.309 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.212, allocations: 51.41 kB / 0.9355 GB, free: 3.246 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.558e-05/0.212, allocations: 109.8 kB / 0.9356 GB, free: 3.129 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.2121, allocations: 25.7 kB / 0.9356 GB, free: 3.098 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.2121, allocations: 88.5 kB / 0.9357 GB, free: 3.008 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2121, allocations: 15.81 kB / 0.9357 GB, free: 2.992 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.2121, allocations: 0 / 0.9357 GB, free: 2.992 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.2122, allocations: 318.8 kB / 0.936 GB, free: 2.672 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.2123, allocations: 35.84 kB / 0.936 GB, free: 2.637 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.2123, allocations: 27.98 kB / 0.9361 GB, free: 2.609 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.2125, allocations: 57.09 kB / 0.9361 GB, free: 2.551 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2125, allocations: 0 / 0.9361 GB, free: 2.551 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001915/0.2127, allocations: 93.64 kB / 0.9362 GB, free: 2.453 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2127, allocations: 7.906 kB / 0.9362 GB, free: 2.445 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2127, allocations: 0 / 0.9362 GB, free: 2.445 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2128, allocations: 0 / 0.9362 GB, free: 2.445 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.2128, allocations: 11.98 kB / 0.9362 GB, free: 2.434 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2128, allocations: 7.938 kB / 0.9362 GB, free: 2.426 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.2129, allocations: 19.98 kB / 0.9363 GB, free: 2.406 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.213, allocations: 0 / 0.9363 GB, free: 2.406 MB / 0.573 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 5.899e-05/0.213, allocations: 126.4 kB / 0.9364 GB, free: 2.273 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.2131, allocations: 7.906 kB / 0.9364 GB, free: 2.266 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.2133, allocations: 97.48 kB / 0.9365 GB, free: 2.16 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2133, allocations: 0 / 0.9365 GB, free: 2.16 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2133, allocations: 0 / 0.9365 GB, free: 2.16 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2133, allocations: 4 kB / 0.9365 GB, free: 2.156 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.2134, allocations: 165.6 kB / 0.9366 GB, free: 1.945 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2134, allocations: 4 kB / 0.9366 GB, free: 1.941 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.2135, allocations: 11.98 kB / 0.9366 GB, free: 1.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2135, allocations: 0 / 0.9366 GB, free: 1.93 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2135, allocations: 4 kB / 0.9367 GB, free: 1.926 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2135, allocations: 7.938 kB / 0.9367 GB, free: 1.918 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2135, allocations: 0 / 0.9367 GB, free: 1.918 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.2138, allocations: 175.5 kB / 0.9368 GB, free: 1.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.2138, allocations: 89.02 kB / 0.9369 GB, free: 1.625 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.2138, allocations: 0 / 0.9369 GB, free: 1.625 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.214, allocations: 19.97 kB / 0.9369 GB, free: 1.605 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.214, allocations: 7.984 kB / 0.9369 GB, free: 1.598 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.214, allocations: 0 / 0.9369 GB, free: 1.598 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.883e-05/0.2141, allocations: 87.28 kB / 0.937 GB, free: 1.512 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2141, allocations: 4 kB / 0.937 GB, free: 1.508 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001884/0.2143, allocations: 16.27 kB / 0.937 GB, free: 1.492 MB / 0.573 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.0001032/0.2144, allocations: 103.8 kB / 0.9371 GB, free: 1.379 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.2146, allocations: 59.89 kB / 0.9372 GB, free: 1.32 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2146, allocations: 7.938 kB / 0.9372 GB, free: 1.312 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.2147, allocations: 27.98 kB / 0.9372 GB, free: 1.285 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.2149, allocations: 11.55 kB / 0.9372 GB, free: 1.277 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.2152, allocations: 137 kB / 0.9374 GB, free: 1.117 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.2153, allocations: 0.6887 MB / 0.938 GB, free: 412 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.2154, allocations: 4 kB / 0.9381 GB, free: 408 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.2154, allocations: 7.438 kB / 0.9381 GB, free: 400 kB / 0.573 GB Notification: Performance of SimCode: time 9.32e-07/0.2154, allocations: 0 / 0.9381 GB, free: 400 kB / 0.573 GB Notification: Performance of Templates: time 0.002239/0.2176, allocations: 0.6628 MB / 0.9387 GB, free: 15.73 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)