Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 297.4 MB / 312.6 MB, free: 2.922 MB / 234.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.001072/0.001072, allocations: 186 kB / 382.3 MB, free: 14.81 MB / 314.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.698/1.698, allocations: 225.7 MB / 0.6617 GB, free: 7.234 MB / 490.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.0008356/0.0008358, allocations: 98.83 kB / 0.7789 GB, free: 46.65 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005083, allocations: 15.98 kB / 0.9059 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7839/0.7845, allocations: 119.2 MB / 1.022 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0009603/0.7855, allocations: 435.5 kB / 1.023 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.7874, allocations: 1.597 MB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.7875, allocations: 1.375 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.7875, allocations: 0.6562 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.7876, allocations: 12.7 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.7886, allocations: 294.4 kB / 1.025 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.789, allocations: 220.2 kB / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.7891, allocations: 20.22 kB / 1.025 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.7893, allocations: 88.16 kB / 1.025 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.7895, allocations: 72.19 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.7896, allocations: 15.56 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.7897, allocations: 22 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.7897, allocations: 13.05 kB / 1.025 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.7899, allocations: 99.56 kB / 1.025 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.7902, allocations: 209.2 kB / 1.025 GB, free: 56.58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.7902, allocations: 0 / 1.025 GB, free: 56.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7902, allocations: 0 / 1.025 GB, free: 56.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.7903, allocations: 0.625 kB / 1.025 GB, free: 56.58 MB / 0.698 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.0006148/0.7909, allocations: 455 kB / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.7909, allocations: 11.97 kB / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.222e-05/0.791, allocations: 20.52 kB / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.7912, allocations: 169.8 kB / 1.026 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.7912, allocations: 10.75 kB / 1.026 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.7913, allocations: 20.66 kB / 1.026 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.7914, allocations: 59.22 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.7914, allocations: 4.875 kB / 1.026 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.7915, allocations: 0 / 1.026 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.7915, allocations: 1.656 kB / 1.026 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.327e-05/0.7916, allocations: 19.02 kB / 1.026 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007468/0.7923, allocations: 415.5 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/0.7924, allocations: 36.25 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.842e-05/0.7925, allocations: 27.75 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.7925, allocations: 0.5312 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.7927, allocations: 106.5 kB / 1.027 GB, free: 55.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.7928, allocations: 0 / 1.027 GB, free: 55.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003671/0.7931, allocations: 134.5 kB / 1.027 GB, free: 55.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.7932, allocations: 57.5 kB / 1.027 GB, free: 55.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.7933, allocations: 132.7 kB / 1.027 GB, free: 55.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.7934, allocations: 33.36 kB / 1.027 GB, free: 55.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.7935, allocations: 101.5 kB / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.7935, allocations: 18.7 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.7935, allocations: 8.312 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7937, allocations: 328.1 kB / 1.027 GB, free: 54.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.7939, allocations: 86.72 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.7941, allocations: 135.5 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.7945, allocations: 241.2 kB / 1.028 GB, free: 54.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7945, allocations: 4 kB / 1.028 GB, free: 54.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006259/0.7951, allocations: 374.9 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.695e-05/0.7952, allocations: 101.9 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7952, allocations: 1.281 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7953, allocations: 2.656 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.468e-05/0.7953, allocations: 7.891 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.7953, allocations: 2.531 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.7959, allocations: 123.2 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.796, allocations: 18.58 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001175/0.7961, allocations: 133.2 kB / 1.029 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.7961, allocations: 10.78 kB / 1.029 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.7962, allocations: 13.64 kB / 1.029 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7962, allocations: 4.875 kB / 1.029 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7962, allocations: 0 / 1.029 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.7962, allocations: 0.5156 kB / 1.029 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.7964, allocations: 194 kB / 1.029 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7964, allocations: 7.078 kB / 1.029 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.7964, allocations: 3.344 kB / 1.029 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.7964, allocations: 0 / 1.029 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.7964, allocations: 7.25 kB / 1.029 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7964, allocations: 0 / 1.029 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.7964, allocations: 2.062 kB / 1.029 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.7966, allocations: 139.8 kB / 1.029 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.7967, allocations: 84.23 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.7967, allocations: 2.641 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.672e-05/0.7968, allocations: 6.031 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.7968, allocations: 7.906 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.7968, allocations: 4.75 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.7969, allocations: 99.89 kB / 1.029 GB, free: 53.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7969, allocations: 5.406 kB / 1.029 GB, free: 53.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002805/0.7972, allocations: 44.44 kB / 1.029 GB, free: 53.4 MB / 0.698 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,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.0001964/0.7974, allocations: 112.8 kB / 1.029 GB, free: 53.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.7979, allocations: 369.4 kB / 1.03 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7979, allocations: 0 / 1.03 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.798, allocations: 37.66 kB / 1.03 GB, free: 53.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.7983, allocations: 32.16 kB / 1.03 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.7987, allocations: 200.8 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.7989, allocations: 0.6957 MB / 1.031 GB, free: 52.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.799, allocations: 8.375 kB / 1.031 GB, free: 52.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.799, allocations: 17.92 kB / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.799, allocations: 0 / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of Templates: time 0.005346/0.8044, allocations: 2.496 MB / 1.033 GB, free: 51.93 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)