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.001165/0.001165, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001896/0.003061, allocations: 435.8 kB / 10.33 MB, free: 368 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.001028/0.001028, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002429, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.944/0.944, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08612/1.03, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.328/2.328, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2648/2.593, allocations: 145.9 MB / 0.817 GB, free: 4.195 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 2.164e-06/2.164e-06, allocations: 0 / 0.8184 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.517e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002509/0.002534, allocations: 0.9091 MB / 0.8193 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.003868, allocations: 0.9365 MB / 0.8202 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.003938, allocations: 0 / 0.8202 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.916e-05/0.004027, allocations: 15.8 kB / 0.8202 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.004148, allocations: 27.75 kB / 0.8202 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.004326, allocations: 47.92 kB / 0.8203 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.004562, allocations: 135.6 kB / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.004735, allocations: 42.09 kB / 0.8204 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.004911, allocations: 99.66 kB / 0.8205 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.005062, allocations: 67.84 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.005105, allocations: 12 kB / 0.8206 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.518e-05/0.00513, allocations: 12 kB / 0.8206 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.0052, allocations: 39.86 kB / 0.8207 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.005262, allocations: 31.88 kB / 0.8207 GB, free: 436 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.005447, allocations: 103.6 kB / 0.8208 GB, free: 332 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.001e-05/0.005467, allocations: 4 kB / 0.8208 GB, free: 328 kB / 0.7917 GB Notification: Performance of FrontEnd: time 2.114e-06/0.005469, allocations: 0 / 0.8208 GB, free: 328 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.133e-05/0.005491, allocations: 0 / 0.8208 GB, free: 328 kB / 0.7917 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.0006913/0.006182, allocations: 403.7 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.006221, allocations: 12.62 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.006268, allocations: 16.92 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.006445, allocations: 154.3 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.006459, allocations: 12.38 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.006476, allocations: 8.375 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.006742, allocations: 121.6 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.006752, allocations: 192 / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.006767, allocations: 8.375 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.006774, allocations: 4.359 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.006851, allocations: 19.94 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.007413, allocations: 293.6 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.007534, allocations: 92.06 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.007582, allocations: 20.86 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.007597, allocations: 4.125 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.007626, allocations: 38.55 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.007628, allocations: 0 / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0002013/0.007829, allocations: 77.61 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.007863, allocations: 51.41 kB / 0.8221 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.007988, allocations: 175 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.008004, allocations: 25.7 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.008064, allocations: 104.2 kB / 0.8224 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.008104, allocations: 35.69 kB / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.00816, allocations: 21.7 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.008272, allocations: 330.8 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.008311, allocations: 10.83 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/0.008343, allocations: 11.94 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.941e-05/0.008422, allocations: 50.41 kB / 0.8228 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.008426, allocations: 3.938 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001206/0.008546, allocations: 57.67 kB / 0.8229 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.008562, allocations: 8 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.008567, allocations: 0 / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.008576, allocations: 0 / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.008737, allocations: 35.91 kB / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.008741, allocations: 4 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.00881, allocations: 11.98 kB / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.008821, allocations: 8 kB / 0.8229 GB, free: 13.96 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.148e-05/0.008903, allocations: 116.6 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.008938, allocations: 11.98 kB / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.008987, allocations: 21.47 kB / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.00899, allocations: 0 / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.008992, allocations: 0 / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.008998, allocations: 7.984 kB / 0.8231 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.009174, allocations: 105.8 kB / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.009177, allocations: 0 / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.0093, allocations: 27.98 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.009317, allocations: 23.77 kB / 0.8232 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.009319, allocations: 0 / 0.8232 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.00933, allocations: 4 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.009333, allocations: 3.984 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.009334, allocations: 0 / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.009531, allocations: 210.8 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.009549, allocations: 0 / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.009656, allocations: 19.92 kB / 0.8234 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.009715, allocations: 19.97 kB / 0.8235 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.009722, allocations: 0 / 0.8235 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.009772, allocations: 50 kB / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.009772, allocations: 0 / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002266/0.009999, allocations: 23.95 kB / 0.8235 GB, free: 13.27 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.0001251/0.01012, allocations: 76.42 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.01026, allocations: 44.81 kB / 0.8237 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.01027, allocations: 4 kB / 0.8237 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.805e-05/0.01032, allocations: 36.7 kB / 0.8237 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.01063, allocations: 34.91 kB / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.01132, allocations: 306.8 kB / 0.824 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.044e-05/0.01136, allocations: 79.33 kB / 0.8241 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.835e-05/0.01141, allocations: 12.48 kB / 0.8241 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/0.0115, allocations: 67.36 kB / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of SimCode: time 1.223e-06/0.0115, allocations: 0 / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.003293/0.01479, allocations: 1.957 MB / 0.8261 GB, free: 10.66 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.087716679088771]