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.001569/0.001569, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002128/0.002128, allocations: 218.7 kB / 23.01 MB, free: 4.605 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.264/3.264, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|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.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.002044/0.002044, allocations: 63.77 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3596, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002663/0.3623, allocations: 0.8497 MB / 1.355 GB, free: 7.098 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3638, allocations: 0.9327 MB / 1.356 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.3639, allocations: 0 / 1.356 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.364, allocations: 11.86 kB / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.3642, allocations: 19.81 kB / 1.356 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.3644, allocations: 55.92 kB / 1.356 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.3646, allocations: 135.7 kB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.3648, allocations: 29.28 kB / 1.356 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.365, allocations: 59.83 kB / 1.356 GB, free: 5.848 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.3652, allocations: 71.73 kB / 1.356 GB, free: 5.777 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.3652, allocations: 16 kB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.677e-05/0.3652, allocations: 12 kB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.3653, allocations: 43.77 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.491e-05/0.3654, allocations: 55.72 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3656, allocations: 143.4 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3656, allocations: 0 / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3656, allocations: 4 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3656, allocations: 0 / 1.356 GB, free: 5.508 MB / 1.045 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.0009097/0.3665, allocations: 373.7 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3666, allocations: 8.031 kB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.3666, allocations: 24.78 kB / 1.357 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.3668, allocations: 148.3 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3669, allocations: 12.12 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.3669, allocations: 12 kB / 1.357 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.3673, allocations: 147.6 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3673, allocations: 0 / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.3674, allocations: 4 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3674, allocations: 7.984 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.3679, allocations: 155.8 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000702/0.3686, allocations: 383.5 kB / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008667/0.3695, allocations: 178.5 kB / 1.358 GB, free: 3.977 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.3698, allocations: 80.88 kB / 1.358 GB, free: 3.895 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3698, allocations: 0 / 1.358 GB, free: 3.895 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3698, allocations: 34.56 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.3698, allocations: 4 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0009359/0.3707, allocations: 277.5 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3708, allocations: 55.41 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.3709, allocations: 157.5 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.3709, allocations: 25.7 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.371, allocations: 116 kB / 1.359 GB, free: 3.188 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.3711, allocations: 27.8 kB / 1.359 GB, free: 3.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.3711, allocations: 29.7 kB / 1.359 GB, free: 3.125 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3713, allocations: 322.8 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.3715, allocations: 71.92 kB / 1.359 GB, free: 2.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.3718, allocations: 76.3 kB / 1.359 GB, free: 2.656 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/0.3723, allocations: 160.8 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3723, allocations: 0 / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006206/0.373, allocations: 209.4 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.373, allocations: 4 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.373, allocations: 0 / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.373, allocations: 3.938 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.3733, allocations: 43.89 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3733, allocations: 0 / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.3734, allocations: 27.86 kB / 1.36 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3735, allocations: 4 kB / 1.36 GB, free: 2.203 MB / 1.045 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 0.0001343/0.3736, allocations: 129.7 kB / 1.36 GB, free: 2.066 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.3736, allocations: 15.89 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.3737, allocations: 16.72 kB / 1.36 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3737, allocations: 4 kB / 1.36 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3737, allocations: 4 kB / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3737, allocations: 0 / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.374, allocations: 204.6 kB / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.374, allocations: 0 / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.3742, allocations: 39.89 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3742, allocations: 0 / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3742, allocations: 0 / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3742, allocations: 7.938 kB / 1.36 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3742, allocations: 3.984 kB / 1.36 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.3749, allocations: 299.3 kB / 1.36 GB, free: 1.426 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.3749, allocations: 23.91 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3749, allocations: 3.938 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3751, allocations: 23.97 kB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3752, allocations: 31.95 kB / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3753, allocations: 4 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.715e-05/0.3753, allocations: 111.2 kB / 1.36 GB, free: 1.23 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3753, allocations: 4 kB / 1.36 GB, free: 1.227 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002521/0.3756, allocations: 19.95 kB / 1.36 GB, free: 1.207 MB / 1.045 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 0.0001468/0.3757, allocations: 103.2 kB / 1.361 GB, free: 1.098 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000623/0.3764, allocations: 167.8 kB / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3764, allocations: 0 / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.3767, allocations: 91.86 kB / 1.361 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.377, allocations: 21.8 kB / 1.361 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.3776, allocations: 263.8 kB / 1.361 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3779, allocations: 0.7119 MB / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3781, allocations: 19.42 kB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.3781, allocations: 0 / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of Templates: time 0.003828/0.3819, allocations: 1.844 MB / 1.364 GB, free: 13.94 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.558113200997468]