Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.751/1.751, allocations: 292.6 MB / 307.8 MB, free: 7.129 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.001016/0.001016, allocations: 200.7 kB / 376.5 MB, free: 4.434 MB / 298.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.506/1.506, allocations: 225.7 MB / 0.655 GB, free: 13.13 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.001062/0.001062, allocations: 94.16 kB / 0.7711 GB, free: 50.43 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004207, allocations: 16.56 kB / 0.897 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7821, allocations: 118.2 MB / 1.012 GB, free: 58.15 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001323/0.7835, allocations: 0.5311 MB / 1.013 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.7859, allocations: 1.265 MB / 1.014 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.786, allocations: 2.938 kB / 1.014 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.7861, allocations: 12.84 kB / 1.014 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.7862, allocations: 9.375 kB / 1.014 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.7873, allocations: 291.8 kB / 1.014 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.7875, allocations: 232.1 kB / 1.015 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.7877, allocations: 40.75 kB / 1.015 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.7879, allocations: 94.19 kB / 1.015 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.7881, allocations: 80.8 kB / 1.015 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.7881, allocations: 11.12 kB / 1.015 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.7882, allocations: 34.89 kB / 1.015 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.7883, allocations: 15.61 kB / 1.015 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.7884, allocations: 112 kB / 1.015 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.7887, allocations: 178.4 kB / 1.015 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.7887, allocations: 4.297 kB / 1.015 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.767e-06/0.7887, allocations: 1.031 kB / 1.015 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.7887, allocations: 5.469 kB / 1.015 GB, free: 57.89 MB / 0.7136 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.0005361/0.7893, allocations: 486.2 kB / 1.016 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.7893, allocations: 8.531 kB / 1.016 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.359e-05/0.7894, allocations: 26.08 kB / 1.016 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.7895, allocations: 178.5 kB / 1.016 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.7896, allocations: 18.56 kB / 1.016 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.7896, allocations: 21.44 kB / 1.016 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.7898, allocations: 90.28 kB / 1.016 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7898, allocations: 3.938 kB / 1.016 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.7898, allocations: 4.438 kB / 1.016 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.7899, allocations: 2.75 kB / 1.016 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.79, allocations: 45.81 kB / 1.016 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006514/0.7906, allocations: 0.4902 MB / 1.017 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.7909, allocations: 70.64 kB / 1.017 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.7909, allocations: 32.36 kB / 1.017 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.791, allocations: 0 / 1.017 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.7912, allocations: 118.8 kB / 1.017 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.7912, allocations: 0 / 1.017 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003708/0.7916, allocations: 169.4 kB / 1.017 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.7916, allocations: 55 kB / 1.017 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.7918, allocations: 165.6 kB / 1.017 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.7918, allocations: 34.98 kB / 1.017 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.7919, allocations: 120.2 kB / 1.017 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.792, allocations: 22.02 kB / 1.017 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.792, allocations: 9.281 kB / 1.017 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.7921, allocations: 329.1 kB / 1.018 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.7923, allocations: 97.47 kB / 1.018 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.7925, allocations: 150.7 kB / 1.018 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.7928, allocations: 249 kB / 1.018 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7928, allocations: 0 / 1.018 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005643/0.7934, allocations: 401.3 kB / 1.018 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.439e-05/0.7935, allocations: 94.62 kB / 1.019 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.7935, allocations: 3.625 kB / 1.019 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7935, allocations: 7 kB / 1.019 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.7936, allocations: 14.59 kB / 1.019 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.7936, allocations: 6.594 kB / 1.019 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/0.7942, allocations: 123.8 kB / 1.019 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.7942, allocations: 18.86 kB / 1.019 GB, free: 55.67 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.7944, allocations: 132.6 kB / 1.019 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.7944, allocations: 14.03 kB / 1.019 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.7944, allocations: 20.2 kB / 1.019 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.7944, allocations: 3.875 kB / 1.019 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7945, allocations: 0 / 1.019 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.7945, allocations: 0 / 1.019 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.7946, allocations: 225.7 kB / 1.019 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7946, allocations: 0 / 1.019 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.7947, allocations: 16.44 kB / 1.019 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7947, allocations: 2.781 kB / 1.019 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.7947, allocations: 6.406 kB / 1.019 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7947, allocations: 1.219 kB / 1.019 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7947, allocations: 1.125 kB / 1.019 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.795, allocations: 163.6 kB / 1.019 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.795, allocations: 93.83 kB / 1.019 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.7951, allocations: 3.938 kB / 1.019 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.331e-05/0.7951, allocations: 8.469 kB / 1.019 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.7952, allocations: 8.766 kB / 1.019 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.7952, allocations: 11.86 kB / 1.019 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.083e-05/0.7952, allocations: 112 kB / 1.02 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7953, allocations: 0 / 1.02 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002564/0.7955, allocations: 49.09 kB / 1.02 GB, free: 55.09 MB / 0.7136 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 (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.0001795/0.7957, allocations: 126 kB / 1.02 GB, free: 55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.7962, allocations: 379.2 kB / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7962, allocations: 0 / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.7963, allocations: 54.98 kB / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.7966, allocations: 25.84 kB / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.7971, allocations: 267.3 kB / 1.02 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.7973, allocations: 0.7178 MB / 1.021 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.472e-05/0.7974, allocations: 13.25 kB / 1.021 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.7974, allocations: 13.06 kB / 1.021 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.7974, allocations: 0 / 1.021 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.006068/0.8035, allocations: 2.603 MB / 1.024 GB, free: 53.74 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)