Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.771/1.771, allocations: 291.7 MB / 306.8 MB, free: 7.633 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.00123/0.00123, allocations: 196.1 kB / 375.4 MB, free: 5.102 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.562/1.562, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0009378/0.000938, allocations: 94.7 kB / 0.7699 GB, free: 50.28 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004456, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6775, allocations: 118.1 MB / 1.011 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.0009864/0.6785, allocations: 0.5308 MB / 1.011 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.6799, allocations: 1.263 MB / 1.013 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.68, allocations: 1.875 kB / 1.013 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.68, allocations: 11.48 kB / 1.013 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.229e-05/0.6801, allocations: 14.23 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007204/0.6808, allocations: 290 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.681, allocations: 229.8 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.6811, allocations: 42.7 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.6812, allocations: 101.2 kB / 1.013 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.6814, allocations: 75.77 kB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.6814, allocations: 13.22 kB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.6815, allocations: 39.31 kB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.6815, allocations: 16.5 kB / 1.013 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.6816, allocations: 52.05 kB / 1.014 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.6818, allocations: 181.1 kB / 1.014 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6818, allocations: 0 / 1.014 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6818, allocations: 1.312 kB / 1.014 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6818, allocations: 0 / 1.014 GB, free: 57.22 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.0004506/0.6822, allocations: 488.5 kB / 1.014 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.6823, allocations: 10.31 kB / 1.014 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.6824, allocations: 22.66 kB / 1.014 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.6824, allocations: 181.1 kB / 1.014 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.6825, allocations: 11.28 kB / 1.014 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.6825, allocations: 21.66 kB / 1.014 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.6828, allocations: 92.94 kB / 1.014 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.6828, allocations: 4.875 kB / 1.014 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.6828, allocations: 3.938 kB / 1.014 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.6828, allocations: 6.859 kB / 1.014 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.683, allocations: 46 kB / 1.015 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.6836, allocations: 0.492 MB / 1.015 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.6838, allocations: 68.98 kB / 1.015 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.6839, allocations: 35.23 kB / 1.015 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.6839, allocations: 0 / 1.015 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.6841, allocations: 113.4 kB / 1.015 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.6841, allocations: 0 / 1.015 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003083/0.6844, allocations: 174.7 kB / 1.015 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.6844, allocations: 58.86 kB / 1.015 GB, free: 56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.6846, allocations: 166.4 kB / 1.016 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.6846, allocations: 38.3 kB / 1.016 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.6847, allocations: 109.6 kB / 1.016 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.6847, allocations: 26.16 kB / 1.016 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.6848, allocations: 11.75 kB / 1.016 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.6848, allocations: 320.8 kB / 1.016 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.685, allocations: 93.61 kB / 1.016 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.6852, allocations: 152.3 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.6854, allocations: 251.9 kB / 1.017 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6854, allocations: 0 / 1.017 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005215/0.686, allocations: 399.8 kB / 1.017 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.686, allocations: 99.23 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.686, allocations: 3.578 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.6861, allocations: 8.812 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.6861, allocations: 16.41 kB / 1.017 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.6861, allocations: 4.672 kB / 1.017 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.6866, allocations: 119.3 kB / 1.017 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.6867, allocations: 20.25 kB / 1.017 GB, free: 54.98 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.0001/0.6868, allocations: 133.2 kB / 1.017 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.6868, allocations: 16.47 kB / 1.017 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.6869, allocations: 17.09 kB / 1.017 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6869, allocations: 1.438 kB / 1.017 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.6869, allocations: 4.969 kB / 1.017 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6869, allocations: 0.7969 kB / 1.017 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.687, allocations: 220 kB / 1.018 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.687, allocations: 3.938 kB / 1.018 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.6871, allocations: 12.25 kB / 1.018 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6871, allocations: 0.75 kB / 1.018 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.6871, allocations: 9.719 kB / 1.018 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6871, allocations: 1.875 kB / 1.018 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6871, allocations: 0 / 1.018 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.6873, allocations: 162.4 kB / 1.018 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.6873, allocations: 87.86 kB / 1.018 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.6874, allocations: 4.5 kB / 1.018 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.6874, allocations: 11.91 kB / 1.018 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.6874, allocations: 9.625 kB / 1.018 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.6874, allocations: 5.375 kB / 1.018 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.608e-05/0.6875, allocations: 117.3 kB / 1.018 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6875, allocations: 2.25 kB / 1.018 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002378/0.6878, allocations: 50.53 kB / 1.018 GB, free: 54.4 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.0001315/0.6879, allocations: 113.6 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004075/0.6883, allocations: 382.9 kB / 1.019 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6883, allocations: 0 / 1.019 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.6884, allocations: 54.34 kB / 1.019 GB, free: 54.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.6887, allocations: 26.41 kB / 1.019 GB, free: 54.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.6891, allocations: 273.3 kB / 1.019 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.6892, allocations: 0.7141 MB / 1.02 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.6893, allocations: 12.98 kB / 1.02 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.6893, allocations: 13.44 kB / 1.02 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.6893, allocations: 0.5312 kB / 1.02 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.004853/0.6942, allocations: 2.576 MB / 1.022 GB, free: 53.07 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)