Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.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.00114/0.00114, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002718, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001047/0.001047, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002409, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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 0.9361/0.9361, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08582/1.022, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.444/2.444, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.234/2.678, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.[0-9,]+.|mulSum_1.y|mulSum_2.u.[0-9,]+.|mulSum_2.y|mulSum_5.u.[0-9,]+.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.[0-9,]+.|mulSum_1.y|mulSum_2.u.[0-9,]+.|mulSum_2.y|mulSum_5.u.[0-9,]+.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.198e-05, allocations: 2.312 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002086/0.002108, allocations: 0.9114 MB / 0.8199 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.003197, allocations: 0.9402 MB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.003263, allocations: 4 kB / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.831e-05/0.003341, allocations: 19.8 kB / 0.8208 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.962e-05/0.003441, allocations: 15.81 kB / 0.8208 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.003575, allocations: 47.94 kB / 0.8209 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.003764, allocations: 139.5 kB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.003915, allocations: 46.05 kB / 0.8211 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.004067, allocations: 99.64 kB / 0.8212 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.004203, allocations: 67.86 kB / 0.8212 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.00424, allocations: 12 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.324e-05/0.004263, allocations: 12 kB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.004318, allocations: 35.86 kB / 0.8213 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.004366, allocations: 31.88 kB / 0.8213 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.004553, allocations: 107.6 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.337e-05/0.004566, allocations: 4 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.272e-06/0.004568, allocations: 0 / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.004584, allocations: 0 / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006382/0.005222, allocations: 399.8 kB / 0.8218 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.005257, allocations: 8.031 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.005309, allocations: 20.86 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.005492, allocations: 161.4 kB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.005505, allocations: 12.38 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.005525, allocations: 4.375 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.005783, allocations: 124.8 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.005793, allocations: 4.172 kB / 0.8221 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.005805, allocations: 384 / 0.8221 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.005812, allocations: 4.375 kB / 0.8221 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/0.005885, allocations: 23.88 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.006411, allocations: 293.6 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.006528, allocations: 96.06 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.006574, allocations: 20.8 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.006591, allocations: 7.984 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.006614, allocations: 30.56 kB / 0.8226 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 2.234e-06/0.006616, allocations: 0 / 0.8226 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001991/0.006815, allocations: 77.8 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.006847, allocations: 55.41 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.00696, allocations: 166.5 kB / 0.8229 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.006975, allocations: 29.7 kB / 0.8229 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.007024, allocations: 112.2 kB / 0.823 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.007063, allocations: 39.67 kB / 0.823 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.007107, allocations: 13.72 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.007199, allocations: 330.7 kB / 0.8234 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.007237, allocations: 14.83 kB / 0.8234 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.00727, allocations: 8 kB / 0.8234 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.276e-05/0.007343, allocations: 38.48 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.007346, allocations: 3.938 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001197/0.007466, allocations: 65.61 kB / 0.8235 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.00748, allocations: 4 kB / 0.8235 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007484, allocations: 0 / 0.8235 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.007501, allocations: 4 kB / 0.8235 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.007652, allocations: 31.91 kB / 0.8235 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.007654, allocations: 0 / 0.8235 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.007724, allocations: 19.98 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.007732, allocations: 4 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.053e-05/0.007813, allocations: 124.5 kB / 0.8237 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.007847, allocations: 11.98 kB / 0.8237 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.007887, allocations: 21.47 kB / 0.8237 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.007891, allocations: 4 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.007893, allocations: 0 / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.007897, allocations: 3.984 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.008052, allocations: 105.8 kB / 0.8238 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008054, allocations: 0 / 0.8238 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.008171, allocations: 27.98 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.008187, allocations: 19.83 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.00819, allocations: 0 / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.008202, allocations: 7.984 kB / 0.8239 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.008204, allocations: 4 kB / 0.8239 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008206, allocations: 0 / 0.8239 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.008385, allocations: 210.1 kB / 0.8241 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.008404, allocations: 4 kB / 0.8241 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.008504, allocations: 15.98 kB / 0.8241 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.00856, allocations: 11.97 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.008568, allocations: 8 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.667e-05/0.008615, allocations: 46 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.008615, allocations: 0 / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002081/0.008823, allocations: 27.95 kB / 0.8242 GB, free: 12.88 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000123/0.008946, allocations: 80.36 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.009072, allocations: 37.53 kB / 0.8243 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.009082, allocations: 4 kB / 0.8243 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.646e-05/0.009159, allocations: 41 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.009507, allocations: 283.3 kB / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006638/0.01017, allocations: 297.1 kB / 0.8249 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.34e-05/0.01022, allocations: 75.33 kB / 0.8249 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.487e-05/0.01028, allocations: 8.5 kB / 0.825 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.0104, allocations: 75.34 kB / 0.825 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.0104, allocations: 0 / 0.825 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of Templates: time 0.003904/0.0143, allocations: 1.955 MB / 0.8269 GB, free: 9.969 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.211390751414001]