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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") 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.439/1.439, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.001021/0.001021, allocations: 186.2 kB / 330.8 MB, free: 468 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.683/1.683, allocations: 225.7 MB / 0.6016 GB, free: 1.66 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.0008045/0.0008043, allocations: 93.48 kB / 0.709 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003883, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2455, 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.LogicalSwitch): time 0.001487/0.247, allocations: 1.138 MB / 0.9339 GB, free: 5.105 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0003996/0.2475, allocations: 211.4 kB / 0.9341 GB, free: 4.898 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.2475, allocations: 0 / 0.9341 GB, free: 4.898 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.2475, allocations: 3.938 kB / 0.9341 GB, free: 4.895 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2476, allocations: 15.91 kB / 0.9341 GB, free: 4.879 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.2478, allocations: 19.92 kB / 0.9341 GB, free: 4.859 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2479, allocations: 79.78 kB / 0.9342 GB, free: 4.781 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2481, allocations: 20.16 kB / 0.9342 GB, free: 4.758 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.2481, allocations: 31.84 kB / 0.9342 GB, free: 4.727 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.2482, allocations: 31.78 kB / 0.9343 GB, free: 4.695 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.2482, allocations: 4 kB / 0.9343 GB, free: 4.691 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.2483, allocations: 7.938 kB / 0.9343 GB, free: 4.684 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.2483, allocations: 4 kB / 0.9343 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.2484, allocations: 61.5 kB / 0.9343 GB, free: 4.613 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.2485, allocations: 75.95 kB / 0.9344 GB, free: 4.539 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2485, allocations: 4 kB / 0.9344 GB, free: 4.535 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2485, allocations: 0 / 0.9344 GB, free: 4.535 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2485, allocations: 0 / 0.9344 GB, free: 4.535 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005905/0.2491, allocations: 395.3 kB / 0.9348 GB, free: 4.102 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2491, allocations: 11.98 kB / 0.9348 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.2492, allocations: 8.844 kB / 0.9348 GB, free: 4.082 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2493, allocations: 176.3 kB / 0.935 GB, free: 3.871 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.2494, allocations: 4.359 kB / 0.935 GB, free: 3.867 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2494, allocations: 8.375 kB / 0.935 GB, free: 3.859 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.2495, allocations: 62.17 kB / 0.9351 GB, free: 3.793 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2495, allocations: 3.938 kB / 0.9351 GB, free: 3.789 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2495, allocations: 0 / 0.9351 GB, free: 3.789 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2496, allocations: 4 kB / 0.9351 GB, free: 3.785 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.2496, allocations: 31.98 kB / 0.9351 GB, free: 3.754 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.2501, allocations: 312.6 kB / 0.9354 GB, free: 3.398 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.073e-05/0.2502, allocations: 54.55 kB / 0.9355 GB, free: 3.336 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.2502, allocations: 21.02 kB / 0.9355 GB, free: 3.312 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.2503, allocations: 7.984 kB / 0.9355 GB, free: 3.305 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.2505, allocations: 87.39 kB / 0.9356 GB, free: 3.207 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.2505, allocations: 0 / 0.9356 GB, free: 3.207 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0002397/0.2507, allocations: 113.8 kB / 0.9357 GB, free: 3.09 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.2508, allocations: 55.5 kB / 0.9357 GB, free: 3.023 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.2509, allocations: 137.6 kB / 0.9359 GB, free: 2.879 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.2509, allocations: 37.62 kB / 0.9359 GB, free: 2.836 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.2509, allocations: 88.14 kB / 0.936 GB, free: 2.746 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.251, allocations: 19.81 kB / 0.936 GB, free: 2.727 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.251, allocations: 4 kB / 0.936 GB, free: 2.723 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.251, allocations: 322.8 kB / 0.9363 GB, free: 2.398 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.2511, allocations: 19.98 kB / 0.9363 GB, free: 2.379 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.138e-05/0.2511, allocations: 51.42 kB / 0.9364 GB, free: 2.316 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/0.2512, allocations: 67.38 kB / 0.9364 GB, free: 2.238 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2512, allocations: 0 / 0.9364 GB, free: 2.238 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001197/0.2513, allocations: 101.5 kB / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2514, allocations: 11.89 kB / 0.9365 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2514, allocations: 4 kB / 0.9365 GB, free: 2.117 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2514, allocations: 0 / 0.9365 GB, free: 2.117 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.2514, allocations: 7.938 kB / 0.9366 GB, free: 2.109 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2515, allocations: 8.094 kB / 0.9366 GB, free: 2.102 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2516, allocations: 31.88 kB / 0.9366 GB, free: 2.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2516, allocations: 4 kB / 0.9366 GB, free: 2.066 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.535e-05/0.2517, allocations: 124.6 kB / 0.9367 GB, free: 1.938 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.2517, allocations: 7.906 kB / 0.9367 GB, free: 1.93 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.2517, allocations: 16.38 kB / 0.9367 GB, free: 1.91 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2517, allocations: 4 kB / 0.9367 GB, free: 1.906 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2517, allocations: 0 / 0.9367 GB, free: 1.906 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2518, allocations: 0 / 0.9367 GB, free: 1.906 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.2519, allocations: 193.5 kB / 0.9369 GB, free: 1.668 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-06/0.2519, allocations: 0 / 0.9369 GB, free: 1.668 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.109e-05/0.2519, allocations: 4.031 kB / 0.9369 GB, free: 1.664 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2519, allocations: 11.92 kB / 0.9369 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2519, allocations: 0 / 0.9369 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2519, allocations: 0 / 0.9369 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2519, allocations: 0 / 0.9369 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.2521, allocations: 128.9 kB / 0.9371 GB, free: 1.508 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.2521, allocations: 85.02 kB / 0.9371 GB, free: 1.406 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.2521, allocations: 0 / 0.9371 GB, free: 1.406 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2522, allocations: 27.97 kB / 0.9372 GB, free: 1.379 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.2523, allocations: 7.984 kB / 0.9372 GB, free: 1.371 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2523, allocations: 8 kB / 0.9372 GB, free: 1.363 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.2524, allocations: 103.2 kB / 0.9373 GB, free: 1.262 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2524, allocations: 0 / 0.9373 GB, free: 1.262 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001734/0.2525, allocations: 20 kB / 0.9373 GB, free: 1.242 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: 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 (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.0001052/0.2526, allocations: 107.2 kB / 0.9374 GB, free: 1.129 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.2528, allocations: 67.8 kB / 0.9375 GB, free: 1.062 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2528, allocations: 0 / 0.9375 GB, free: 1.062 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.031e-05/0.2529, allocations: 40.17 kB / 0.9375 GB, free: 1.023 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.2531, allocations: 15.98 kB / 0.9375 GB, free: 1.008 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.2535, allocations: 215.4 kB / 0.9377 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.2536, allocations: 0.6898 MB / 0.9384 GB, free: 52 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.2536, allocations: 12.55 kB / 0.9384 GB, free: 36 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.2537, allocations: 11.44 kB / 0.9384 GB, free: 24 kB / 0.573 GB Notification: Performance of SimCode: time 5.41e-07/0.2537, allocations: 0 / 0.9384 GB, free: 24 kB / 0.573 GB Notification: Performance of Templates: time 0.003414/0.2571, allocations: 1.087 MB / 0.9395 GB, free: 14.95 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)