Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001718/0.001718, allocations: 78.66 kB / 19.18 MB, free: 2.52 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.002213/0.002213, allocations: 166.2 kB / 22.46 MB, free: 5.371 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.56/1.56, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.713/2.713, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.226e-06/8.226e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.791e-05/5.614e-05, allocations: 2.281 kB / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002787/0.002843, allocations: 0.8429 MB / 0.9519 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.004645, allocations: 0.9171 MB / 0.9528 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.004766, allocations: 0 / 0.9528 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.004938, allocations: 15.8 kB / 0.9528 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.005124, allocations: 35.72 kB / 0.9528 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.005324, allocations: 39.95 kB / 0.9528 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.00564, allocations: 139.5 kB / 0.953 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.005871, allocations: 41.5 kB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.006041, allocations: 75.86 kB / 0.9531 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.006216, allocations: 71.78 kB / 0.9532 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.73e-05/0.006273, allocations: 12 kB / 0.9532 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.807e-05/0.006301, allocations: 12 kB / 0.9532 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.006386, allocations: 43.84 kB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.248e-05/0.006478, allocations: 47.83 kB / 0.9533 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.006778, allocations: 175.5 kB / 0.9534 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.006781, allocations: 3.938 kB / 0.9534 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.72e-07/0.006782, allocations: 4 kB / 0.9534 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.00679, allocations: 0 / 0.9534 GB, free: 9.02 MB / 0.8575 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.001251/0.008041, allocations: 441.4 kB / 0.9539 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.008091, allocations: 12.03 kB / 0.9539 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.008158, allocations: 20.8 kB / 0.9539 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.008448, allocations: 157.5 kB / 0.954 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.008463, allocations: 4.375 kB / 0.9541 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.008492, allocations: 8.375 kB / 0.9541 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/0.009162, allocations: 182 kB / 0.9542 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.009178, allocations: 192 / 0.9542 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.009201, allocations: 384 / 0.9542 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.009211, allocations: 8.375 kB / 0.9542 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009179/0.01013, allocations: 222.1 kB / 0.9545 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.01145, allocations: 440 kB / 0.9549 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.01201, allocations: 146.4 kB / 0.955 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.01248, allocations: 112.7 kB / 0.9551 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.0125, allocations: 0 / 0.9551 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.01255, allocations: 46.69 kB / 0.9552 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.01256, allocations: 0 / 0.9552 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001577/0.01413, allocations: 361.3 kB / 0.9555 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/0.01422, allocations: 55.39 kB / 0.9556 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.01451, allocations: 184 kB / 0.9557 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.01454, allocations: 25.7 kB / 0.9558 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.01469, allocations: 120 kB / 0.9559 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.01476, allocations: 35.69 kB / 0.9559 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.01487, allocations: 21.72 kB / 0.9559 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000422/0.01529, allocations: 334.8 kB / 0.9563 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.01572, allocations: 99.89 kB / 0.9563 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.01612, allocations: 108.2 kB / 0.9565 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009884/0.01711, allocations: 216.6 kB / 0.9567 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01711, allocations: 0 / 0.9567 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000925/0.01804, allocations: 253.4 kB / 0.9569 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.01807, allocations: 4 kB / 0.9569 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.01808, allocations: 8 kB / 0.9569 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.01811, allocations: 0 / 0.9569 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.01845, allocations: 51.88 kB / 0.957 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.01846, allocations: 0 / 0.957 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.01869, allocations: 31.95 kB / 0.957 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.0187, allocations: 0 / 0.957 GB, free: 5.215 MB / 0.8575 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.0001867/0.01889, allocations: 138.6 kB / 0.9571 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.01894, allocations: 11.91 kB / 0.9571 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.884e-05/0.01901, allocations: 25.45 kB / 0.9572 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.01901, allocations: 4 kB / 0.9572 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.01902, allocations: 4 kB / 0.9572 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01903, allocations: 0 / 0.9572 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.01935, allocations: 173.2 kB / 0.9573 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.01935, allocations: 0 / 0.9573 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.01964, allocations: 51.88 kB / 0.9574 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01965, allocations: 4 kB / 0.9574 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.01966, allocations: 0 / 0.9574 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01967, allocations: 0 / 0.9574 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01967, allocations: 0 / 0.9574 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.02085, allocations: 363.3 kB / 0.9577 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.02088, allocations: 15.84 kB / 0.9577 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.02092, allocations: 11.94 kB / 0.9578 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.02115, allocations: 27.95 kB / 0.9578 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.02127, allocations: 15.97 kB / 0.9578 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.02128, allocations: 4 kB / 0.9578 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001889/0.02147, allocations: 136.3 kB / 0.9579 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.02147, allocations: 4 kB / 0.9579 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002987/0.02177, allocations: 27.95 kB / 0.958 GB, free: 4.164 MB / 0.8575 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.0002499/0.02202, allocations: 95.25 kB / 0.9581 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009577/0.02298, allocations: 223.7 kB / 0.9583 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.02298, allocations: 0 / 0.9583 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.02342, allocations: 115.8 kB / 0.9584 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.02381, allocations: 31.86 kB / 0.9584 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008188/0.02463, allocations: 302.6 kB / 0.9587 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.02484, allocations: 114.2 kB / 0.9588 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.084e-05/0.02493, allocations: 24.94 kB / 0.9588 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.025, allocations: 16.5 kB / 0.9588 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.025, allocations: 0 / 0.9588 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of Templates: time 0.006077/0.03108, allocations: 2.048 MB / 0.9608 GB, free: 1.199 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.485286783427]