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.IntegerSwitch.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.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") 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.794/1.794, allocations: 297.4 MB / 312.6 MB, free: 2.93 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.001004/0.001005, allocations: 186 kB / 382.3 MB, free: 14.84 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.53/1.53, 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.0008645/0.0008647, allocations: 101.2 kB / 0.7789 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003951, allocations: 12 kB / 0.9059 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8572/0.8577, allocations: 119.2 MB / 1.022 GB, free: 57.91 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001223/0.8589, allocations: 0.5383 MB / 1.023 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.861, allocations: 1.614 MB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.861, allocations: 2.031 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.8611, allocations: 9.516 kB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.8612, allocations: 16.27 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/0.862, allocations: 300.7 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.8624, allocations: 257.4 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.8625, allocations: 38.92 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.8627, allocations: 99.95 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.8628, allocations: 86.55 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.8629, allocations: 14.41 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.48e-05/0.863, allocations: 25.38 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.863, allocations: 17.77 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.8632, allocations: 113.2 kB / 1.025 GB, free: 56.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.8636, allocations: 243.7 kB / 1.026 GB, free: 56.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8636, allocations: 1.688 kB / 1.026 GB, free: 56.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8636, allocations: 0 / 1.026 GB, free: 56.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8636, allocations: 0 / 1.026 GB, free: 56.2 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005563/0.8642, allocations: 491.6 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.8642, allocations: 9.531 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.8643, allocations: 23.84 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.8644, allocations: 185.8 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.8645, allocations: 16.86 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.8645, allocations: 17.67 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.8647, allocations: 93.59 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.8647, allocations: 1.406 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.8648, allocations: 6.062 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.8648, allocations: 2.812 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.8649, allocations: 42.94 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006328/0.8655, allocations: 499.6 kB / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.8657, allocations: 74.88 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.8658, allocations: 33.94 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.8658, allocations: 2.438 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.8661, allocations: 112.3 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.8661, allocations: 0 / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0003352/0.8664, allocations: 176.9 kB / 1.027 GB, free: 54.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.8664, allocations: 59.02 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.8666, allocations: 163 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.8666, allocations: 38.73 kB / 1.028 GB, free: 54.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.8667, allocations: 111.3 kB / 1.028 GB, free: 54.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.8667, allocations: 35.11 kB / 1.028 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.8668, allocations: 9.906 kB / 1.028 GB, free: 54.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.8668, allocations: 325 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.867, allocations: 91.42 kB / 1.028 GB, free: 54.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.8673, allocations: 149.7 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.8675, allocations: 249.7 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8675, allocations: 4 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000576/0.8681, allocations: 395.9 kB / 1.029 GB, free: 53.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.8682, allocations: 97.89 kB / 1.029 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8682, allocations: 1.656 kB / 1.029 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8682, allocations: 8 kB / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.8683, allocations: 17.64 kB / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.8683, allocations: 0 / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.8688, allocations: 124.7 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.8689, allocations: 19.42 kB / 1.029 GB, free: 53.48 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001102/0.869, allocations: 136.3 kB / 1.029 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.869, allocations: 12.59 kB / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.8691, allocations: 20.97 kB / 1.029 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.8691, allocations: 2.422 kB / 1.029 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.8691, allocations: 4 kB / 1.029 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.8691, allocations: 7.547 kB / 1.029 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.8693, allocations: 222.2 kB / 1.029 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8693, allocations: 0.5312 kB / 1.029 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.8693, allocations: 8 kB / 1.029 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8693, allocations: 2.062 kB / 1.029 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.8694, allocations: 8.859 kB / 1.029 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8694, allocations: 0 / 1.029 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8694, allocations: 0 / 1.029 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.8696, allocations: 162.7 kB / 1.03 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.8696, allocations: 89.45 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.8696, allocations: 6.25 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.198e-05/0.8697, allocations: 4.453 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.8697, allocations: 9.938 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.8698, allocations: 9.922 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.8698, allocations: 112.2 kB / 1.03 GB, free: 52.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8698, allocations: 4 kB / 1.03 GB, free: 52.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002498/0.8701, allocations: 50.78 kB / 1.03 GB, free: 52.79 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001582/0.8702, allocations: 112.6 kB / 1.03 GB, free: 52.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004814/0.8707, allocations: 384.3 kB / 1.03 GB, free: 52.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8707, allocations: 0 / 1.03 GB, free: 52.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.164e-05/0.8708, allocations: 54.06 kB / 1.03 GB, free: 52.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.8711, allocations: 31.61 kB / 1.03 GB, free: 52.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.8716, allocations: 273.7 kB / 1.031 GB, free: 52.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.8718, allocations: 0.7117 MB / 1.031 GB, free: 51.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.656e-05/0.8718, allocations: 11.62 kB / 1.031 GB, free: 51.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.8719, allocations: 16.16 kB / 1.031 GB, free: 51.49 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.8719, allocations: 7.938 kB / 1.031 GB, free: 51.48 MB / 0.698 GB Notification: Performance of Templates: time 0.005824/0.8777, allocations: 2.655 MB / 1.034 GB, free: 51.27 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)