Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002246/0.002246, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.912/2.912, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.7864 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.887e-05, allocations: 2.906 kB / 0.7864 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002113/0.002142, allocations: 0.7729 MB / 0.7871 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003536, allocations: 0.8906 MB / 0.788 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.003593, allocations: 4 kB / 0.788 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.003629, allocations: 9.281 kB / 0.788 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.003745, allocations: 11.86 kB / 0.788 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.003933, allocations: 40.95 kB / 0.7881 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.004072, allocations: 87.77 kB / 0.7882 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.004179, allocations: 15.98 kB / 0.7882 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.004303, allocations: 57.44 kB / 0.7882 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.004389, allocations: 39.88 kB / 0.7883 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.004418, allocations: 8 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.004439, allocations: 8 kB / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.00447, allocations: 20.52 kB / 0.7883 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.00452, allocations: 27.91 kB / 0.7883 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.004704, allocations: 96.83 kB / 0.7884 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004707, allocations: 0 / 0.7884 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.72e-07/0.004707, allocations: 0 / 0.7884 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004711, allocations: 2.219 kB / 0.7884 GB, free: 10.55 MB / 0.7448 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.0006821/0.005393, allocations: 404 kB / 0.7888 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.005432, allocations: 11.97 kB / 0.7888 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.005493, allocations: 12.89 kB / 0.7888 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.005667, allocations: 120.5 kB / 0.789 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.005687, allocations: 6.375 kB / 0.789 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.005708, allocations: 12.36 kB / 0.789 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.005964, allocations: 86.2 kB / 0.7891 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.005978, allocations: 3.938 kB / 0.7891 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.005993, allocations: 4 kB / 0.7891 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.005997, allocations: 1.562 kB / 0.7891 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.00627, allocations: 79.88 kB / 0.7891 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005996/0.00687, allocations: 332.7 kB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.007434, allocations: 115.1 kB / 0.7896 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.007599, allocations: 45.05 kB / 0.7896 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.007623, allocations: 4 kB / 0.7896 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.007659, allocations: 43.12 kB / 0.7897 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.00766, allocations: 0 / 0.7897 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0005344/0.008194, allocations: 145.6 kB / 0.7898 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.008249, allocations: 64.42 kB / 0.7899 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.008414, allocations: 185.9 kB / 0.79 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.008434, allocations: 25.7 kB / 0.7901 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.008547, allocations: 148.8 kB / 0.7902 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.008578, allocations: 23.8 kB / 0.7902 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.008646, allocations: 31.36 kB / 0.7902 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002706/0.008917, allocations: 0.4961 MB / 0.7907 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.00905, allocations: 34.58 kB / 0.7908 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.00917, allocations: 36.28 kB / 0.7908 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.009411, allocations: 75.8 kB / 0.7909 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.009413, allocations: 0 / 0.7909 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003395/0.009752, allocations: 118.3 kB / 0.791 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.009768, allocations: 11.98 kB / 0.791 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.009773, allocations: 0.5312 kB / 0.791 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.009789, allocations: 5.641 kB / 0.791 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.009928, allocations: 15.98 kB / 0.791 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.009937, allocations: 4 kB / 0.791 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.01002, allocations: 4 kB / 0.791 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.01003, allocations: 8.641 kB / 0.791 GB, free: 7.691 MB / 0.7448 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 (reaToInt1.y,reaToInt.y,add1.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 0.0001303/0.01016, allocations: 165.5 kB / 0.7912 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.0102, allocations: 7.953 kB / 0.7912 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.01023, allocations: 17.28 kB / 0.7912 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01024, allocations: 0 / 0.7912 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01024, allocations: 0 / 0.7912 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.01024, allocations: 0.8438 kB / 0.7912 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.01047, allocations: 152.5 kB / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.01047, allocations: 1.281 kB / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.0106, allocations: 23.91 kB / 0.7914 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.0106, allocations: 0 / 0.7914 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.01062, allocations: 4.844 kB / 0.7914 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01062, allocations: 0 / 0.7914 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01062, allocations: 0 / 0.7914 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.01104, allocations: 268.8 kB / 0.7916 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.01105, allocations: 9.484 kB / 0.7917 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01107, allocations: 4 kB / 0.7917 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.01118, allocations: 7.984 kB / 0.7917 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.01126, allocations: 25.31 kB / 0.7917 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.01127, allocations: 0 / 0.7917 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000113/0.01138, allocations: 143.2 kB / 0.7918 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01138, allocations: 0 / 0.7918 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002256/0.01161, allocations: 18.94 kB / 0.7918 GB, free: 6.809 MB / 0.7448 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.0001311/0.01174, allocations: 103.2 kB / 0.7919 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.01208, allocations: 99.61 kB / 0.792 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01208, allocations: 0 / 0.792 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.01225, allocations: 60.09 kB / 0.7921 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01253, allocations: 22.38 kB / 0.7921 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.01301, allocations: 185.9 kB / 0.7923 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.69e-05/0.01309, allocations: 75.83 kB / 0.7924 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.315e-05/0.01316, allocations: 7.656 kB / 0.7924 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.01325, allocations: 27.3 kB / 0.7924 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01325, allocations: 0 / 0.7924 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.00538/0.01863, allocations: 1.721 MB / 0.7941 GB, free: 4.488 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.078637103084475]