Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 199.9 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 64.12 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8763/0.8784, allocations: 168.7 MB / 1.274 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002261/0.8806, allocations: 0.8475 MB / 1.275 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.8819, allocations: 0.909 MB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.882, allocations: 0 / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.8821, allocations: 7.875 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.8823, allocations: 23.8 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.8825, allocations: 59.92 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.8827, allocations: 127.7 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.8829, allocations: 29.09 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.883, allocations: 63.77 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.8832, allocations: 75.72 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.8832, allocations: 12 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.698e-05/0.8833, allocations: 12 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.447e-05/0.8833, allocations: 43.83 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.22e-05/0.8834, allocations: 55.72 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.8837, allocations: 146 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.8837, allocations: 0 / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8837, allocations: 4 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.8837, allocations: 0 / 1.276 GB, free: 1.965 MB / 0.9669 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.001109/0.8848, allocations: 446.8 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/0.8849, allocations: 8.031 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.885, allocations: 16.84 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.8853, allocations: 212.6 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.8853, allocations: 16.11 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.8853, allocations: 12 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.8858, allocations: 145.5 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.8858, allocations: 0 / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.8859, allocations: 8 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.8859, allocations: 0 / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/0.8865, allocations: 155.8 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.8872, allocations: 412.5 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009114/0.8882, allocations: 170.4 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.8885, allocations: 80.95 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.8885, allocations: 4 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.8885, allocations: 34.55 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.8885, allocations: 4 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.001063/0.8896, allocations: 281.4 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.8896, allocations: 59.41 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.8898, allocations: 149.2 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.8898, allocations: 25.7 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.8899, allocations: 108 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.89, allocations: 31.73 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.89, allocations: 41.62 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.8902, allocations: 318.8 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.8905, allocations: 75.92 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.8908, allocations: 75.92 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005693/0.8913, allocations: 160.7 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8913, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006558/0.892, allocations: 201.4 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.892, allocations: 8 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.892, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.892, allocations: 4 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.8923, allocations: 39.89 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.8923, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.8925, allocations: 27.86 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.8925, allocations: 3.984 kB / 1.28 GB, free: 14.47 MB / 0.9825 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.y,add1.u[3],add1.u[2],add1.u[1]) * 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.0001461/0.8927, allocations: 121.8 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.8927, allocations: 15.89 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.8928, allocations: 20.7 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.8928, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.8928, allocations: 4 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.8928, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.8931, allocations: 229.5 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8931, allocations: 288 / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.8934, allocations: 39.89 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/0.8934, allocations: 7.984 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.8934, allocations: 3.938 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.8934, allocations: 4 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8934, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007277/0.8941, allocations: 303.3 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.8942, allocations: 96.94 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.8942, allocations: 0 / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.8944, allocations: 23.97 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.8946, allocations: 35.89 kB / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.8946, allocations: 4 kB / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.694e-05/0.8947, allocations: 109.5 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8947, allocations: 4 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002713/0.8949, allocations: 23.95 kB / 1.281 GB, free: 13.34 MB / 0.9825 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.0001734/0.8951, allocations: 107.8 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000685/0.8958, allocations: 163.8 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8958, allocations: 4 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.8961, allocations: 95.86 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.8965, allocations: 23.7 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.8971, allocations: 249.9 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.8975, allocations: 0.7084 MB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000101/0.8976, allocations: 24.42 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.8977, allocations: 27.41 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.8977, allocations: 0 / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of Templates: time 0.006579/0.9043, allocations: 2.451 MB / 1.284 GB, free: 9.461 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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: 9.0700813382864]