Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.246/2.246, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001354/0.001354, allocations: 196.5 kB / 329.5 MB, free: 1.156 MB / 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 2.696/2.696, allocations: 225.6 MB / 0.6001 GB, free: 2.211 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.001002/0.001001, allocations: 88.61 kB / 0.7074 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004987, allocations: 12.53 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2146, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001612/0.2162, allocations: 1.124 MB / 0.9319 GB, free: 24 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004087/0.2167, allocations: 135.7 kB / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.2168, allocations: 4 kB / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.2168, allocations: 3.938 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/0.2169, allocations: 0 / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.2171, allocations: 27.91 kB / 0.932 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.466e-05/0.2171, allocations: 35.91 kB / 0.9321 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2173, allocations: 11.98 kB / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.236e-05/0.2173, allocations: 15.92 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.2174, allocations: 15.92 kB / 0.9321 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.2174, allocations: 4 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.2175, allocations: 0 / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.2175, allocations: 7.984 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.2175, allocations: 33.64 kB / 0.9322 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.2176, allocations: 35.86 kB / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2177, allocations: 4 kB / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2177, allocations: 0 / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2177, allocations: 0 / 0.9322 GB, free: 23.67 MB / 0.5886 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.0007783/0.2185, allocations: 391.6 kB / 0.9326 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2185, allocations: 12.03 kB / 0.9326 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.2186, allocations: 0.9375 kB / 0.9326 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.848e-05/0.2187, allocations: 168.4 kB / 0.9327 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.2187, allocations: 384 / 0.9327 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.2187, allocations: 8.375 kB / 0.9328 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.219, allocations: 66.23 kB / 0.9328 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2191, allocations: 192 / 0.9328 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.2191, allocations: 3.938 kB / 0.9328 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2191, allocations: 4 kB / 0.9328 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.2194, allocations: 59.89 kB / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.2201, allocations: 312.6 kB / 0.9332 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.2204, allocations: 58.55 kB / 0.9332 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.2206, allocations: 32.94 kB / 0.9333 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.2207, allocations: 7.984 kB / 0.9333 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.2207, allocations: 30.56 kB / 0.9333 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.274e-06/0.2207, allocations: 3.938 kB / 0.9333 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0005649/0.2213, allocations: 109.5 kB / 0.9334 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.2213, allocations: 51.41 kB / 0.9335 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.2214, allocations: 113.8 kB / 0.9336 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2214, allocations: 25.7 kB / 0.9336 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.2215, allocations: 96.06 kB / 0.9337 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.2215, allocations: 7.906 kB / 0.9337 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.2215, allocations: 0 / 0.9337 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2216, allocations: 318.8 kB / 0.934 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2218, allocations: 31.97 kB / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.222, allocations: 23.98 kB / 0.934 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.2221, allocations: 27.98 kB / 0.9341 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2222, allocations: 384 / 0.9341 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003605/0.2225, allocations: 85.56 kB / 0.9342 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2226, allocations: 8 kB / 0.9342 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2226, allocations: 0 / 0.9342 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2226, allocations: 7.922 kB / 0.9342 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2227, allocations: 12 kB / 0.9342 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2228, allocations: 0 / 0.9342 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.223, allocations: 23.97 kB / 0.9342 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.223, allocations: 3.938 kB / 0.9342 GB, free: 21.39 MB / 0.5886 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 8.201e-05/0.2231, allocations: 121.8 kB / 0.9343 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.2231, allocations: 336 / 0.9343 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.2235, allocations: 101.5 kB / 0.9344 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2235, allocations: 0 / 0.9344 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2235, allocations: 0 / 0.9344 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2236, allocations: 4 kB / 0.9344 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2237, allocations: 169.5 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2238, allocations: 3.984 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2239, allocations: 8 kB / 0.9346 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2239, allocations: 0 / 0.9346 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2239, allocations: 4 kB / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2239, allocations: 4 kB / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2239, allocations: 3.938 kB / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.2243, allocations: 183.4 kB / 0.9348 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.2244, allocations: 81.05 kB / 0.9349 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.2244, allocations: 0 / 0.9349 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.2246, allocations: 27.97 kB / 0.9349 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.2247, allocations: 7.984 kB / 0.9349 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.2247, allocations: 0 / 0.9349 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.2248, allocations: 91.28 kB / 0.935 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2248, allocations: 0 / 0.935 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002742/0.2251, allocations: 7.906 kB / 0.935 GB, free: 20.48 MB / 0.5886 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.0001293/0.2252, allocations: 107.8 kB / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.2256, allocations: 63.89 kB / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2256, allocations: 0 / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.2258, allocations: 31.98 kB / 0.9352 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.2262, allocations: 12.16 kB / 0.9352 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.2266, allocations: 128.7 kB / 0.9353 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.2268, allocations: 0.6809 MB / 0.936 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.445e-05/0.2268, allocations: 15.92 kB / 0.936 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.2269, allocations: 7.438 kB / 0.936 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of SimCode: time 8.01e-07/0.2269, allocations: 0 / 0.936 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.003597/0.2305, allocations: 0.6381 MB / 0.9366 GB, free: 18.74 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)