Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.0007882/0.0007882, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001816, 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.0007376/0.0007376, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009036/0.001641, 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.985/0.985, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1078/1.093, 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.283/2.283, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2638/2.547, allocations: 145.9 MB / 0.817 GB, free: 4.199 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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.[0-9,]+.|add1.y",fileNamePrefix="Buildings_latest_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.[0-9,]+.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.409e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001285/0.0013, allocations: 0.8808 MB / 0.8192 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008997/0.002199, allocations: 0.9597 MB / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.002252, allocations: 4 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.647e-05/0.002308, allocations: 11.86 kB / 0.8201 GB, free: 1 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.002372, allocations: 15.81 kB / 0.8201 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.002496, allocations: 59.84 kB / 0.8202 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.002629, allocations: 123.7 kB / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.002734, allocations: 37.92 kB / 0.8203 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.002997, allocations: 103.7 kB / 0.8204 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.003111, allocations: 59.86 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.003139, allocations: 12 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.003157, allocations: 12 kB / 0.8205 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.003194, allocations: 27.92 kB / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.003233, allocations: 27.88 kB / 0.8206 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.003351, allocations: 87.67 kB / 0.8207 GB, free: 456 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.003364, allocations: 4 kB / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003365, allocations: 0 / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.003377, allocations: 0 / 0.8207 GB, free: 452 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004642/0.003841, allocations: 348 kB / 0.821 GB, free: 80 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.003873, allocations: 8.625 kB / 0.821 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.003907, allocations: 16.92 kB / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.004043, allocations: 138.2 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.004064, allocations: 8.375 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.004076, allocations: 4.375 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.004258, allocations: 128.9 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.004265, allocations: 0 / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004275, allocations: 8 kB / 0.8213 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.004279, allocations: 0 / 0.8213 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.866e-05/0.004338, allocations: 26.73 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.004653, allocations: 249.6 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.004918, allocations: 113.3 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.004955, allocations: 28.84 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.004971, allocations: 4 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.004991, allocations: 34.5 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.004992, allocations: 0 / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001627/0.005155, allocations: 77.66 kB / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.005188, allocations: 63.34 kB / 0.8219 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.005259, allocations: 144.6 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.005273, allocations: 25.7 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.00531, allocations: 104.2 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.005337, allocations: 35.72 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.005377, allocations: 25.7 kB / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.005455, allocations: 326.8 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.005481, allocations: 14.83 kB / 0.8225 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.005505, allocations: 15.92 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.005576, allocations: 54.41 kB / 0.8226 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.00558, allocations: 0 / 0.8226 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.993e-05/0.00567, allocations: 65.67 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.00568, allocations: 12 kB / 0.8227 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.005684, allocations: 0 / 0.8227 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.005692, allocations: 0 / 0.8227 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.005799, allocations: 35.89 kB / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.005802, allocations: 3.938 kB / 0.8227 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.005851, allocations: 19.94 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.00586, allocations: 7.984 kB / 0.8227 GB, free: 14.18 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: 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 7.014e-05/0.005931, allocations: 108.7 kB / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.005952, allocations: 15.98 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.005976, allocations: 16.78 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.005978, allocations: 4 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.00598, allocations: 0 / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005983, allocations: 3.938 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.006096, allocations: 101.8 kB / 0.823 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.006097, allocations: 0 / 0.823 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.006178, allocations: 35.95 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.006187, allocations: 7.953 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.00619, allocations: 7.938 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.006198, allocations: 3.984 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006199, allocations: 4 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006199, allocations: 0 / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.006329, allocations: 218.8 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.006344, allocations: 7.984 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.688e-05/0.006401, allocations: 4 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.006464, allocations: 39.89 kB / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.006472, allocations: 7.984 kB / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.077e-05/0.006503, allocations: 39.39 kB / 0.8233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006503, allocations: 0 / 0.8233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001294/0.006632, allocations: 27.89 kB / 0.8233 GB, free: 13.48 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: 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 6.602e-05/0.006698, allocations: 84.41 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.896e-05/0.006797, allocations: 48.81 kB / 0.8235 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.006806, allocations: 7.984 kB / 0.8235 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.341e-05/0.006859, allocations: 44.72 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.00701, allocations: 31.97 kB / 0.8236 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.007457, allocations: 229.6 kB / 0.8238 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.02e-05/0.007497, allocations: 67.34 kB / 0.8238 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.714e-05/0.007554, allocations: 12.5 kB / 0.8239 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.007655, allocations: 87.34 kB / 0.8239 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of SimCode: time 7.52e-07/0.007655, allocations: 0 / 0.8239 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of Templates: time 0.003866/0.01152, allocations: 2.642 MB / 0.8265 GB, free: 10.21 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.118787795305252]