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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.262/2.262, allocations: 254.9 MB / 269.9 MB, free: 9.621 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.001401/0.001401, allocations: 196.5 kB / 329.5 MB, free: 1.137 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.472/2.472, allocations: 225.6 MB / 0.6001 GB, free: 2.121 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.0009692/0.000969, allocations: 99.42 kB / 0.7074 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006548/0.0006551, allocations: 12.41 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2145, allocations: 109.1 MB / 0.9308 GB, free: 25.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001662/0.2162, allocations: 1.126 MB / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004965/0.2168, allocations: 219.4 kB / 0.9321 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.2168, allocations: 0 / 0.9321 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.2169, allocations: 4 kB / 0.9321 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.217, allocations: 15.84 kB / 0.9321 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.2172, allocations: 15.98 kB / 0.9321 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2173, allocations: 87.66 kB / 0.9322 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2174, allocations: 12.17 kB / 0.9322 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.2175, allocations: 31.84 kB / 0.9323 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.2175, allocations: 23.91 kB / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.2176, allocations: 4 kB / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.011e-05/0.2176, allocations: 4 kB / 0.9323 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.2176, allocations: 15.92 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.2177, allocations: 37.64 kB / 0.9323 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.435e-05/0.2178, allocations: 52.11 kB / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2178, allocations: 4 kB / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2178, allocations: 0 / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2178, allocations: 0 / 0.9324 GB, free: 23.42 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007076/0.2185, allocations: 395.3 kB / 0.9328 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2186, allocations: 16.03 kB / 0.9328 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.2186, allocations: 8.844 kB / 0.9328 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2188, allocations: 176.2 kB / 0.933 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.2188, allocations: 8.375 kB / 0.933 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.2188, allocations: 4.375 kB / 0.933 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.219, allocations: 62.17 kB / 0.933 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.219, allocations: 7.875 kB / 0.933 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.2191, allocations: 4 kB / 0.933 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2191, allocations: 3.984 kB / 0.933 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.2192, allocations: 27.98 kB / 0.9331 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.2197, allocations: 312.7 kB / 0.9334 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.2199, allocations: 38.58 kB / 0.9334 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/0.2199, allocations: 28.84 kB / 0.9334 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.22, allocations: 0 / 0.9334 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.2202, allocations: 95.31 kB / 0.9335 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.2202, allocations: 0 / 0.9335 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0003329/0.2205, allocations: 113.5 kB / 0.9336 GB, free: 21.97 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.2206, allocations: 59.39 kB / 0.9337 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2207, allocations: 129.7 kB / 0.9338 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2207, allocations: 29.7 kB / 0.9338 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.2208, allocations: 96.27 kB / 0.9339 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.2208, allocations: 27.66 kB / 0.934 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.2208, allocations: 0 / 0.934 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.2209, allocations: 326.8 kB / 0.9343 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-05/0.221, allocations: 20 kB / 0.9343 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.2211, allocations: 43.42 kB / 0.9343 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.566e-05/0.2211, allocations: 31.92 kB / 0.9344 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2212, allocations: 0 / 0.9344 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002036/0.2214, allocations: 97.53 kB / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2214, allocations: 4 kB / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2214, allocations: 0 / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2214, allocations: 4 kB / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.2215, allocations: 7.938 kB / 0.9345 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.2216, allocations: 7.984 kB / 0.9345 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.2218, allocations: 24.08 kB / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.2218, allocations: 4 kB / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.73e-05/0.2219, allocations: 130.8 kB / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.2219, allocations: 7.906 kB / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.222, allocations: 12.36 kB / 0.9346 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.222, allocations: 4.406 kB / 0.9346 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.222, allocations: 7.938 kB / 0.9347 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.222, allocations: 4 kB / 0.9347 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.2222, allocations: 201.5 kB / 0.9349 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2222, allocations: 0 / 0.9349 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.2223, allocations: 3.938 kB / 0.9349 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-06/0.2223, allocations: 0 / 0.9349 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2223, allocations: 8 kB / 0.9349 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2223, allocations: 0 / 0.9349 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2223, allocations: 0 / 0.9349 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.2225, allocations: 124.9 kB / 0.935 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.2226, allocations: 85.02 kB / 0.9351 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.2226, allocations: 7.984 kB / 0.9351 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.2228, allocations: 19.98 kB / 0.9351 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.2229, allocations: 11.97 kB / 0.9351 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2229, allocations: 8 kB / 0.9351 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.691e-05/0.223, allocations: 91.27 kB / 0.9352 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.9e-07/0.223, allocations: 4 kB / 0.9352 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002573/0.2232, allocations: 20 kB / 0.9352 GB, free: 20.19 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001279/0.2234, allocations: 103.2 kB / 0.9353 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.2236, allocations: 75.78 kB / 0.9354 GB, free: 20 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2236, allocations: 0 / 0.9354 GB, free: 20 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.2237, allocations: 28 kB / 0.9354 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.2241, allocations: 28.16 kB / 0.9354 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.2246, allocations: 203.3 kB / 0.9356 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.2248, allocations: 0.6926 MB / 0.9363 GB, free: 19 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.482e-05/0.2248, allocations: 8.562 kB / 0.9363 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.2249, allocations: 11.44 kB / 0.9363 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of SimCode: time 9.32e-07/0.2249, allocations: 3.938 kB / 0.9363 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of Templates: time 0.004283/0.2292, allocations: 1.039 MB / 0.9374 GB, free: 17.94 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)