Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.916/1.916, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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: 187.2 kB / 393.1 MB, free: 4.07 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.509/1.509, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.000849, allocations: 95.86 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004152, allocations: 8 kB / 0.9224 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6844, allocations: 121.3 MB / 1.041 GB, free: 58.59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00098/0.6854, allocations: 497 kB / 1.041 GB, free: 58.31 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009119/0.6864, allocations: 0.8453 MB / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.6864, allocations: 1.375 kB / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.6865, allocations: 6.453 kB / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.349e-05/0.6866, allocations: 6.672 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.6867, allocations: 39.88 kB / 1.042 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.6868, allocations: 78.66 kB / 1.042 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.687, allocations: 22.95 kB / 1.042 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.6871, allocations: 36.36 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.6872, allocations: 36.45 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.6872, allocations: 4.125 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.6872, allocations: 3.406 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.6872, allocations: 20.11 kB / 1.042 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.6873, allocations: 56.81 kB / 1.042 GB, free: 57.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.6874, allocations: 78.12 kB / 1.043 GB, free: 57.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.6874, allocations: 0 / 1.043 GB, free: 57.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.414e-06/0.6875, allocations: 0 / 1.043 GB, free: 57.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.6875, allocations: 1.938 kB / 1.043 GB, free: 57.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005402/0.688, allocations: 391.1 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6881, allocations: 13.06 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.6881, allocations: 9.438 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.6882, allocations: 176.3 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.6882, allocations: 5.125 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.6883, allocations: 8.859 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.6886, allocations: 119.5 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.6886, allocations: 0.5 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.6886, allocations: 1.375 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.6886, allocations: 3.875 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.689, allocations: 125 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.6895, allocations: 348.4 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.6902, allocations: 135.9 kB / 1.044 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.6904, allocations: 75.08 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.6904, allocations: 0.8438 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.6904, allocations: 31.09 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.6904, allocations: 0 / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006317/0.691, allocations: 217 kB / 1.044 GB, free: 56.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.6911, allocations: 52.28 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.6912, allocations: 130 kB / 1.044 GB, free: 56.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.6912, allocations: 25.7 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.6912, allocations: 97.22 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.6913, allocations: 18.19 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-06/0.6913, allocations: 4 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.836e-05/0.6913, allocations: 317.8 kB / 1.045 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.6915, allocations: 60.53 kB / 1.045 GB, free: 55.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.6917, allocations: 55.7 kB / 1.045 GB, free: 55.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.6921, allocations: 115 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6921, allocations: 0 / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003882/0.6925, allocations: 165.7 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6925, allocations: 9.531 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6925, allocations: 0 / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.6925, allocations: 3.938 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.6927, allocations: 29.03 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6927, allocations: 0.5625 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.6928, allocations: 28.34 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.6929, allocations: 7.156 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.923e-05/0.6929, allocations: 113.7 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.693, allocations: 8.594 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.693, allocations: 18.66 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.693, allocations: 1.125 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.693, allocations: 0 / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.693, allocations: 9.75 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.6932, allocations: 194.5 kB / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.6932, allocations: 4 kB / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.6934, allocations: 31.31 kB / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6934, allocations: 0 / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.6934, allocations: 1.031 kB / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.6934, allocations: 5.016 kB / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6934, allocations: 0 / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.6939, allocations: 265.1 kB / 1.046 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.6939, allocations: 81.02 kB / 1.046 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.6939, allocations: 5.266 kB / 1.046 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.6941, allocations: 18.08 kB / 1.046 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.6942, allocations: 20.3 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.6942, allocations: 7.562 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.6942, allocations: 93.28 kB / 1.046 GB, free: 54.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6943, allocations: 4 kB / 1.046 GB, free: 54.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002047/0.6945, allocations: 17.59 kB / 1.046 GB, free: 54.84 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001103/0.6946, allocations: 105.1 kB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004087/0.695, allocations: 136.5 kB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.695, allocations: 0 / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.6952, allocations: 77.06 kB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.6955, allocations: 6.859 kB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.6959, allocations: 207.7 kB / 1.047 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.6961, allocations: 0.6947 MB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.648e-05/0.6962, allocations: 11.59 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.6962, allocations: 13.98 kB / 1.047 GB, free: 53.81 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.6963, allocations: 0 / 1.047 GB, free: 53.81 MB / 0.698 GB Notification: Performance of Templates: time 0.00372/0.7, allocations: 1.331 MB / 1.049 GB, free: 53.72 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)