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.001849/0.001849, 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.002466/0.002466, allocations: 202.9 kB / 22.18 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.466/1.466, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.816/2.816, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] 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.002056/0.002056, allocations: 63.91 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7795, allocations: 168.7 MB / 1.274 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002563/0.782, allocations: 0.8476 MB / 1.275 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.7834, allocations: 0.9091 MB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.7835, allocations: 0 / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.7836, allocations: 11.81 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.7838, allocations: 23.86 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.784, allocations: 59.8 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.7842, allocations: 127.7 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.7844, allocations: 29.11 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.7845, allocations: 59.77 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.7847, allocations: 79.72 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.7847, allocations: 12 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.733e-05/0.7847, allocations: 12 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.7848, allocations: 43.83 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.723e-05/0.7849, allocations: 47.72 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.7851, allocations: 154 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7851, allocations: 0 / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7851, allocations: 0 / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7851, allocations: 0 / 1.276 GB, free: 1.98 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.001071/0.7862, allocations: 450.8 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.7862, allocations: 12.03 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.7863, allocations: 12.84 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.7866, allocations: 204.7 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.7866, allocations: 16.06 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.7866, allocations: 12 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.7871, allocations: 145.5 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.7871, allocations: 0 / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.7871, allocations: 8 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.7871, allocations: 3.984 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000605/0.7877, allocations: 155.8 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.7885, allocations: 412.5 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008955/0.7894, allocations: 170.6 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.7897, allocations: 84.8 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.7897, allocations: 0 / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.7897, allocations: 38.56 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.7897, allocations: 0 / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.001097/0.7908, allocations: 285.7 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.7909, allocations: 51.5 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.7911, allocations: 157.2 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.7911, allocations: 25.7 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.7912, allocations: 108 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.7912, allocations: 35.72 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/0.7913, allocations: 29.7 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.7915, allocations: 322.8 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.7917, allocations: 75.92 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.792, allocations: 75.92 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.7926, allocations: 160.7 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.7926, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007183/0.7933, allocations: 201.4 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.7933, allocations: 13.55 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.7934, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.7934, allocations: 4 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.7936, allocations: 31.95 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.7937, allocations: 11.94 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.7938, allocations: 19.92 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.7939, allocations: 4 kB / 1.28 GB, free: 14.48 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.000163/0.794, allocations: 129.8 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.7941, allocations: 11.89 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.7941, allocations: 16.72 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7941, allocations: 288 / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7941, allocations: 3.938 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7941, allocations: 0 / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.7945, allocations: 241.5 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7945, allocations: 0 / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.7948, allocations: 39.89 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7948, allocations: 4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.7948, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7948, allocations: 4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7948, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.7956, allocations: 299.3 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.7956, allocations: 96.92 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.7957, allocations: 0 / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.7959, allocations: 23.97 kB / 1.28 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.796, allocations: 31.97 kB / 1.28 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.796, allocations: 0 / 1.28 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001081/0.7961, allocations: 111.2 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7961, allocations: 4 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002813/0.7964, allocations: 27.95 kB / 1.281 GB, free: 13.36 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.0002254/0.7966, allocations: 103.7 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006862/0.7973, allocations: 167.8 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7973, allocations: 0 / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.7977, allocations: 95.84 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.798, allocations: 19.94 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007126/0.7987, allocations: 250.3 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.7992, allocations: 0.7118 MB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.7993, allocations: 28.34 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.7994, allocations: 27.42 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.7994, allocations: 0 / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.00625/0.8056, allocations: 2.451 MB / 1.284 GB, free: 9.48 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 gbode -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: 8.756683540064842]