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.MultiSum.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.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.782/1.782, 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.001116/0.001116, allocations: 191.2 kB / 393.1 MB, free: 4.082 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.641/1.641, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0008126/0.0008126, allocations: 94.25 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005285/0.0005285, allocations: 12 kB / 0.9224 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7901/0.7907, allocations: 121.3 MB / 1.041 GB, free: 58.94 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00125/0.792, allocations: 0.5549 MB / 1.041 GB, free: 58.63 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.7931, allocations: 0.8805 MB / 1.042 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.7932, allocations: 1.812 kB / 1.042 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.7934, allocations: 5.906 kB / 1.042 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.7936, allocations: 16.7 kB / 1.042 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.7938, allocations: 54.06 kB / 1.042 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.7939, allocations: 120.3 kB / 1.042 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.7941, allocations: 40.42 kB / 1.043 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.907e-05/0.7942, allocations: 49.83 kB / 1.043 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.7944, allocations: 68.31 kB / 1.043 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.7944, allocations: 5.5 kB / 1.043 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.244e-05/0.7944, allocations: 5.5 kB / 1.043 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.7945, allocations: 20.23 kB / 1.043 GB, free: 57.81 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.7946, allocations: 81.94 kB / 1.043 GB, free: 57.74 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.7948, allocations: 124.2 kB / 1.043 GB, free: 57.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.7948, allocations: 0 / 1.043 GB, free: 57.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.876e-06/0.7948, allocations: 3.938 kB / 1.043 GB, free: 57.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7948, allocations: 0 / 1.043 GB, free: 57.7 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.0008348/0.7957, allocations: 438.9 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.7957, allocations: 11.7 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.7958, allocations: 10.22 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.796, allocations: 211.3 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.7961, allocations: 8.531 kB / 1.044 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.7961, allocations: 9.031 kB / 1.044 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.7966, allocations: 173.3 kB / 1.044 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.7966, allocations: 0 / 1.044 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.7966, allocations: 0.9375 kB / 1.044 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.7966, allocations: 7.859 kB / 1.044 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000566/0.7972, allocations: 190.1 kB / 1.044 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.7979, allocations: 423.8 kB / 1.044 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008216/0.7987, allocations: 183.5 kB / 1.044 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.799, allocations: 109.8 kB / 1.045 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.7991, allocations: 3.938 kB / 1.045 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.7991, allocations: 36.03 kB / 1.045 GB, free: 56.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.7991, allocations: 0 / 1.045 GB, free: 56.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0009982/0.8001, allocations: 329.9 kB / 1.045 GB, free: 56.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.8002, allocations: 54.25 kB / 1.045 GB, free: 56.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.8003, allocations: 149.9 kB / 1.045 GB, free: 56.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.8003, allocations: 29.7 kB / 1.045 GB, free: 56.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.8004, allocations: 107.9 kB / 1.045 GB, free: 56.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.8004, allocations: 30.42 kB / 1.045 GB, free: 56.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.8004, allocations: 0 / 1.045 GB, free: 56.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.8005, allocations: 325.4 kB / 1.046 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.8008, allocations: 88.44 kB / 1.046 GB, free: 55.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.8011, allocations: 95.67 kB / 1.046 GB, free: 55.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.8017, allocations: 189.1 kB / 1.046 GB, free: 55.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8017, allocations: 1.531 kB / 1.046 GB, free: 55.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000614/0.8023, allocations: 231.2 kB / 1.046 GB, free: 55.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.8023, allocations: 17 kB / 1.046 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8023, allocations: 1.641 kB / 1.046 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.8024, allocations: 0 / 1.046 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.8026, allocations: 54.61 kB / 1.046 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.8026, allocations: 0 / 1.046 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.8028, allocations: 24.44 kB / 1.046 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.8028, allocations: 2.5 kB / 1.046 GB, free: 55.58 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001077/0.8029, allocations: 126.5 kB / 1.046 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.803, allocations: 22.03 kB / 1.046 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.803, allocations: 27.05 kB / 1.046 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.803, allocations: 0 / 1.046 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8031, allocations: 0 / 1.046 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.8031, allocations: 0 / 1.046 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.8033, allocations: 231.5 kB / 1.047 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.8033, allocations: 0 / 1.047 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.8036, allocations: 56.86 kB / 1.047 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.8036, allocations: 5.344 kB / 1.047 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.8036, allocations: 0 / 1.047 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8036, allocations: 1.281 kB / 1.047 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8036, allocations: 0 / 1.047 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.8043, allocations: 337.3 kB / 1.047 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.8044, allocations: 94.73 kB / 1.047 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.8044, allocations: 0.875 kB / 1.047 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.8046, allocations: 27.33 kB / 1.047 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.8047, allocations: 31.61 kB / 1.047 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.8047, allocations: 9.812 kB / 1.047 GB, free: 54.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.063e-05/0.8048, allocations: 112.4 kB / 1.047 GB, free: 54.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8048, allocations: 1.094 kB / 1.047 GB, free: 54.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002229/0.805, allocations: 20.47 kB / 1.047 GB, free: 54.8 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.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): 10 * 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.0001321/0.8052, allocations: 107.8 kB / 1.047 GB, free: 54.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005922/0.8058, allocations: 202.4 kB / 1.048 GB, free: 54.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8058, allocations: 0 / 1.048 GB, free: 54.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.8061, allocations: 119 kB / 1.048 GB, free: 54.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.8064, allocations: 23.91 kB / 1.048 GB, free: 54.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.8069, allocations: 273.8 kB / 1.048 GB, free: 54.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.8071, allocations: 0.7078 MB / 1.049 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.8073, allocations: 24.5 kB / 1.049 GB, free: 53.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.607e-05/0.8074, allocations: 24.73 kB / 1.049 GB, free: 53.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.583e-06/0.8074, allocations: 0 / 1.049 GB, free: 53.71 MB / 0.698 GB Notification: Performance of Templates: time 0.004897/0.8123, allocations: 2.033 MB / 1.051 GB, free: 53.58 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)