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.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") 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.552/1.552, allocations: 255.9 MB / 271.2 MB, free: 8.934 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.001099/0.001099, allocations: 186 kB / 330.8 MB, free: 0.5156 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 1.974/1.974, allocations: 225.7 MB / 0.6016 GB, free: 1.566 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.0008507/0.0008506, allocations: 101.4 kB / 0.709 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 9.188 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2188, allocations: 109.2 MB / 0.9328 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001519/0.2203, allocations: 1.194 MB / 0.9339 GB, free: 5.047 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0003909/0.2207, allocations: 199.5 kB / 0.9341 GB, free: 4.852 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.2208, allocations: 0 / 0.9341 GB, free: 4.852 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.2208, allocations: 0 / 0.9341 GB, free: 4.852 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.2209, allocations: 11.88 kB / 0.9341 GB, free: 4.84 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.2211, allocations: 19.97 kB / 0.9342 GB, free: 4.82 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.2212, allocations: 59.84 kB / 0.9342 GB, free: 4.762 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.2214, allocations: 27.95 kB / 0.9342 GB, free: 4.734 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.2215, allocations: 27.8 kB / 0.9343 GB, free: 4.707 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.2215, allocations: 27.91 kB / 0.9343 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.2216, allocations: 4 kB / 0.9343 GB, free: 4.676 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.2216, allocations: 4 kB / 0.9343 GB, free: 4.672 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.2216, allocations: 11.92 kB / 0.9343 GB, free: 4.66 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.2217, allocations: 49.56 kB / 0.9344 GB, free: 4.605 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.2219, allocations: 63.75 kB / 0.9344 GB, free: 4.543 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.2219, allocations: 0 / 0.9344 GB, free: 4.543 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.196e-06/0.2219, allocations: 4 kB / 0.9344 GB, free: 4.539 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.2219, allocations: 0 / 0.9344 GB, free: 4.539 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007917/0.2227, allocations: 391.6 kB / 0.9348 GB, free: 4.105 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.2228, allocations: 15.98 kB / 0.9348 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.2228, allocations: 8.844 kB / 0.9348 GB, free: 4.082 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2229, allocations: 176.2 kB / 0.935 GB, free: 3.871 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.223, allocations: 8.375 kB / 0.935 GB, free: 3.863 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.223, allocations: 384 / 0.935 GB, free: 3.863 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.2233, allocations: 90.2 kB / 0.9351 GB, free: 3.77 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2233, allocations: 192 / 0.9351 GB, free: 3.77 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.2233, allocations: 7.938 kB / 0.9351 GB, free: 3.762 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2233, allocations: 4 kB / 0.9351 GB, free: 3.758 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.2237, allocations: 91.92 kB / 0.9352 GB, free: 3.668 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.2241, allocations: 300.6 kB / 0.9355 GB, free: 3.324 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.2244, allocations: 74.53 kB / 0.9355 GB, free: 3.242 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2245, allocations: 60.88 kB / 0.9356 GB, free: 3.18 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.2245, allocations: 0 / 0.9356 GB, free: 3.18 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.2248, allocations: 107.3 kB / 0.9357 GB, free: 3.062 MB / 0.573 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2248, allocations: 0 / 0.9357 GB, free: 3.062 MB / 0.573 GB Notification: Performance of matching and sorting (n=6): time 0.0005482/0.2254, allocations: 189.6 kB / 0.9359 GB, free: 2.871 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.2254, allocations: 51.41 kB / 0.9359 GB, free: 2.809 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.2255, allocations: 121.8 kB / 0.936 GB, free: 2.68 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.2255, allocations: 29.7 kB / 0.9361 GB, free: 2.645 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.2256, allocations: 96.12 kB / 0.9362 GB, free: 2.547 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.2256, allocations: 15.75 kB / 0.9362 GB, free: 2.531 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.2256, allocations: 0 / 0.9362 GB, free: 2.531 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.464e-05/0.2257, allocations: 322.8 kB / 0.9365 GB, free: 2.207 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2258, allocations: 51.97 kB / 0.9365 GB, free: 2.156 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.226, allocations: 61.66 kB / 0.9366 GB, free: 2.09 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.2263, allocations: 117.6 kB / 0.9367 GB, free: 1.969 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2263, allocations: 4 kB / 0.9367 GB, free: 1.965 MB / 0.573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003127/0.2266, allocations: 141.6 kB / 0.9369 GB, free: 1.82 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2266, allocations: 4 kB / 0.9369 GB, free: 1.816 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2266, allocations: 0 / 0.9369 GB, free: 1.816 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2266, allocations: 3.938 kB / 0.9369 GB, free: 1.812 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.2268, allocations: 27.97 kB / 0.9369 GB, free: 1.785 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2268, allocations: 0 / 0.9369 GB, free: 1.785 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.2269, allocations: 23.98 kB / 0.9369 GB, free: 1.762 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.2269, allocations: 4 kB / 0.9369 GB, free: 1.758 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.457e-05/0.227, allocations: 122.4 kB / 0.937 GB, free: 1.629 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.227, allocations: 3.906 kB / 0.937 GB, free: 1.625 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.2271, allocations: 12.38 kB / 0.937 GB, free: 1.613 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2271, allocations: 0 / 0.937 GB, free: 1.613 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2271, allocations: 0 / 0.937 GB, free: 1.613 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2271, allocations: 4 kB / 0.937 GB, free: 1.609 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.2272, allocations: 185.6 kB / 0.9372 GB, free: 1.379 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2272, allocations: 0 / 0.9372 GB, free: 1.379 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.739e-05/0.2273, allocations: 19.98 kB / 0.9372 GB, free: 1.359 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2273, allocations: 0 / 0.9372 GB, free: 1.359 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.2273, allocations: 4 kB / 0.9372 GB, free: 1.355 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2274, allocations: 7.875 kB / 0.9373 GB, free: 1.348 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2274, allocations: 0 / 0.9373 GB, free: 1.348 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.2277, allocations: 172.9 kB / 0.9374 GB, free: 1.16 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.2277, allocations: 85.05 kB / 0.9375 GB, free: 1.059 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.2278, allocations: 128 / 0.9375 GB, free: 1.059 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2279, allocations: 31.97 kB / 0.9375 GB, free: 1.027 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.2279, allocations: 3.984 kB / 0.9375 GB, free: 1.023 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.228, allocations: 8 kB / 0.9375 GB, free: 1.016 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.228, allocations: 95.27 kB / 0.9376 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.228, allocations: 0 / 0.9376 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001728/0.2282, allocations: 15.91 kB / 0.9376 GB, free: 0.9062 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001155/0.2283, allocations: 107.2 kB / 0.9378 GB, free: 0.793 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.2287, allocations: 115.8 kB / 0.9379 GB, free: 0.6797 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2287, allocations: 0 / 0.9379 GB, free: 0.6797 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2288, allocations: 60.03 kB / 0.9379 GB, free: 0.6211 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.2291, allocations: 19.83 kB / 0.9379 GB, free: 0.6016 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.2294, allocations: 190.4 kB / 0.9381 GB, free: 392 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.2296, allocations: 0.6848 MB / 0.9388 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.2297, allocations: 3.984 kB / 0.9388 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.2297, allocations: 11.44 kB / 0.9388 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of SimCode: time 3.31e-07/0.2297, allocations: 0 / 0.9388 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.002972/0.2327, allocations: 0.8446 MB / 0.9396 GB, free: 14.82 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)