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.001729/0.001729, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 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.001824/0.001824, allocations: 216.8 kB / 22.25 MB, free: 5.258 MB / 14.72 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 1.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.53/3.53, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|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.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 67.88 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4521, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002404/0.4545, allocations: 0.8427 MB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.4559, allocations: 0.9093 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.705e-05/0.456, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.4562, allocations: 23.8 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.4564, allocations: 19.8 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.4566, allocations: 43.95 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.4568, allocations: 143.5 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.457, allocations: 37.52 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.878e-05/0.4571, allocations: 51.84 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.4573, allocations: 83.66 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.4573, allocations: 12 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.563e-05/0.4573, allocations: 12 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.777e-05/0.4574, allocations: 43.84 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.4575, allocations: 51.7 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.4577, allocations: 179.1 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4577, allocations: 4 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4577, allocations: 4 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.4577, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 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.0009921/0.4587, allocations: 433.4 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4588, allocations: 16.03 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.4588, allocations: 16.84 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.459, allocations: 162.2 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4591, allocations: 8.375 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.4591, allocations: 12.31 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.4596, allocations: 179.6 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4596, allocations: 192 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.4597, allocations: 19.92 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4597, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/0.4604, allocations: 219.8 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.4615, allocations: 439.9 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.462, allocations: 142.5 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004027/0.4624, allocations: 116.7 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.4624, allocations: 4.188 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.4624, allocations: 38.5 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.4624, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001248/0.4637, allocations: 357.4 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.4637, allocations: 55.41 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.4639, allocations: 174.9 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.4639, allocations: 25.7 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.464, allocations: 128 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.4641, allocations: 27.75 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.4641, allocations: 33.7 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4643, allocations: 326.8 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.4647, allocations: 99.89 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.465, allocations: 107.9 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.4658, allocations: 217.1 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4658, allocations: 4 kB / 1.37 GB, free: 7.621 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008072/0.4666, allocations: 257.3 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4666, allocations: 12 kB / 1.37 GB, free: 7.352 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4666, allocations: 0 / 1.37 GB, free: 7.352 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4666, allocations: 0 / 1.37 GB, free: 7.352 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.4669, allocations: 43.94 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4669, allocations: 0 / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.4671, allocations: 43.83 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4671, allocations: 0 / 1.37 GB, free: 7.266 MB / 1.061 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 0.0001443/0.4673, allocations: 133.8 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.4673, allocations: 11.91 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.4674, allocations: 17.41 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4674, allocations: 4 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.4674, allocations: 0 / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4674, allocations: 7.922 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.4677, allocations: 173.2 kB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4677, allocations: 0 / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.4679, allocations: 55.83 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4679, allocations: 0 / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.468, allocations: 0 / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.468, allocations: 3.984 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.468, allocations: 4 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009386/0.4689, allocations: 363.1 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.4689, allocations: 11.91 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.4689, allocations: 0 / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.4692, allocations: 31.95 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.4692, allocations: 15.97 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.4693, allocations: 4.188 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001274/0.4694, allocations: 140.3 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4694, allocations: 3.938 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002538/0.4696, allocations: 31.88 kB / 1.371 GB, free: 6.211 MB / 1.061 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.0001683/0.4698, allocations: 95.25 kB / 1.371 GB, free: 6.109 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008271/0.4706, allocations: 223.7 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4706, allocations: 0 / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.471, allocations: 111.8 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.4714, allocations: 23.98 kB / 1.371 GB, free: 5.758 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.472, allocations: 299.4 kB / 1.372 GB, free: 5.438 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.4721, allocations: 118.1 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.014e-05/0.4722, allocations: 20.42 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.4723, allocations: 11.44 kB / 1.372 GB, free: 5.27 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4723, allocations: 0 / 1.372 GB, free: 5.27 MB / 1.061 GB Notification: Performance of Templates: time 0.005718/0.478, allocations: 2.169 MB / 1.374 GB, free: 3.137 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.942402198910713]