Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001721/0.001721, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001985/0.001985, allocations: 204 kB / 20.09 MB, free: 2.977 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.955/2.955, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00209/0.00209, allocations: 67.89 kB / 1.15 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9602/0.9623, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001824/0.9641, allocations: 0.8898 MB / 1.323 GB, free: 24.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000806/0.9649, allocations: 0.903 MB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.965, allocations: 6.688 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.9651, allocations: 14.92 kB / 1.324 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.9652, allocations: 28.27 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.9653, allocations: 41.31 kB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.9654, allocations: 144.7 kB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.9656, allocations: 42.36 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.9657, allocations: 54.41 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.9658, allocations: 89.08 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.9659, allocations: 11.72 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.046e-05/0.9659, allocations: 14.81 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.9659, allocations: 43.09 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.966, allocations: 65.16 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.9662, allocations: 180.9 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.9662, allocations: 0 / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9662, allocations: 0 / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.9662, allocations: 2.875 kB / 1.324 GB, free: 23.45 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.0009346/0.9672, allocations: 0.505 MB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.9672, allocations: 14.98 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.9673, allocations: 16.97 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.9675, allocations: 222 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.9675, allocations: 7.719 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.9675, allocations: 10.16 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.9681, allocations: 179.4 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.9681, allocations: 192 / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.9681, allocations: 11.88 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.9681, allocations: 2.781 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000725/0.9688, allocations: 221.7 kB / 1.326 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009386/0.9698, allocations: 0.5147 MB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.9702, allocations: 141.6 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/0.9706, allocations: 113.9 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.9707, allocations: 0 / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.9707, allocations: 30.56 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.9707, allocations: 0 / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.00135/0.972, allocations: 371.8 kB / 1.327 GB, free: 22.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.9721, allocations: 52.56 kB / 1.327 GB, free: 22.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.9722, allocations: 188.2 kB / 1.327 GB, free: 21.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.9723, allocations: 26.64 kB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.9723, allocations: 122.3 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.9724, allocations: 32.02 kB / 1.327 GB, free: 21.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.9724, allocations: 27.03 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.9725, allocations: 330.1 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/0.9729, allocations: 101.2 kB / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/0.9733, allocations: 106 kB / 1.328 GB, free: 21.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007839/0.9741, allocations: 205.4 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.9741, allocations: 4 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008954/0.975, allocations: 260.9 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.975, allocations: 11.86 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.975, allocations: 0.875 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.975, allocations: 0.6562 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.9754, allocations: 47.11 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.9754, allocations: 9.062 kB / 1.328 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.9756, allocations: 30.47 kB / 1.328 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.9756, allocations: 6.594 kB / 1.328 GB, free: 21.2 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.0001011/0.9757, allocations: 127.4 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.9758, allocations: 14.56 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.011e-05/0.9758, allocations: 27.5 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.9758, allocations: 1.281 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.9758, allocations: 7.875 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.9758, allocations: 1.125 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.9761, allocations: 247.1 kB / 1.329 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9761, allocations: 0.5156 kB / 1.329 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.9764, allocations: 46.09 kB / 1.329 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.9764, allocations: 0.5312 kB / 1.329 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.9764, allocations: 5.578 kB / 1.329 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.9764, allocations: 0.9375 kB / 1.329 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9764, allocations: 3.938 kB / 1.329 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009192/0.9773, allocations: 354.9 kB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.9773, allocations: 97.41 kB / 1.329 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.9774, allocations: 1.328 kB / 1.329 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.9776, allocations: 38.14 kB / 1.329 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.9777, allocations: 22.64 kB / 1.329 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.9777, allocations: 1.125 kB / 1.329 GB, free: 20.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.569e-05/0.9778, allocations: 137.3 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9778, allocations: 0 / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002589/0.978, allocations: 27.28 kB / 1.329 GB, free: 20.4 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.0001308/0.9782, allocations: 106.7 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008646/0.979, allocations: 217.4 kB / 1.33 GB, free: 20.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.979, allocations: 4 kB / 1.33 GB, free: 20.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.9794, allocations: 109.7 kB / 1.33 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.9798, allocations: 31.69 kB / 1.33 GB, free: 20.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.9804, allocations: 340.3 kB / 1.33 GB, free: 20 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.9805, allocations: 0.7244 MB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.9806, allocations: 13.09 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9806, allocations: 5.25 kB / 1.331 GB, free: 19.29 MB / 1.061 GB Notification: Performance of Templates: time 0.004225/0.9848, allocations: 2.035 MB / 1.333 GB, free: 19.14 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.777015929998015]