Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00227/0.00227, allocations: 79.36 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.00312/0.00312, allocations: 166.8 kB / 22.46 MB, free: 5.375 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.593/1.593, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.906/2.906, 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.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.372e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002982/0.003015, allocations: 0.8186 MB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.005129, allocations: 0.9249 MB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.005216, allocations: 0 / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.00536, allocations: 15.86 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.005512, allocations: 15.81 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.005787, allocations: 59.86 kB / 0.9528 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.006055, allocations: 131.7 kB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.006239, allocations: 37.22 kB / 0.9529 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.006437, allocations: 67.88 kB / 0.953 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.006647, allocations: 67.84 kB / 0.9531 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.006699, allocations: 15.98 kB / 0.9531 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.836e-05/0.006747, allocations: 12 kB / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.006831, allocations: 31.91 kB / 0.9531 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.264e-05/0.006923, allocations: 43.83 kB / 0.9532 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.007226, allocations: 155.5 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.007229, allocations: 0 / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.00723, allocations: 3.938 kB / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.007235, allocations: 3.938 kB / 0.9533 GB, free: 9.141 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001377/0.008612, allocations: 373.7 kB / 0.9537 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.008656, allocations: 8.031 kB / 0.9537 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.134e-05/0.008727, allocations: 16.84 kB / 0.9537 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.009077, allocations: 151.4 kB / 0.9538 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.009103, allocations: 12.38 kB / 0.9539 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.009131, allocations: 4.375 kB / 0.9539 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006979/0.009829, allocations: 155.9 kB / 0.954 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.009842, allocations: 0 / 0.954 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.009867, allocations: 0 / 0.954 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.009874, allocations: 4 kB / 0.954 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/0.01077, allocations: 159.8 kB / 0.9542 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009644/0.01174, allocations: 332.2 kB / 0.9545 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.01301, allocations: 170.5 kB / 0.9546 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.01349, allocations: 89.55 kB / 0.9547 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.01351, allocations: 0 / 0.9547 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.01355, allocations: 30.56 kB / 0.9548 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.01355, allocations: 0 / 0.9548 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001534/0.01509, allocations: 285.5 kB / 0.955 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.01514, allocations: 51.41 kB / 0.9551 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.01535, allocations: 152.4 kB / 0.9552 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.01539, allocations: 33.69 kB / 0.9553 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01549, allocations: 100.1 kB / 0.9554 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.01555, allocations: 31.73 kB / 0.9554 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.01565, allocations: 25.7 kB / 0.9554 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.01583, allocations: 326.8 kB / 0.9557 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.01626, allocations: 83.86 kB / 0.9558 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.01668, allocations: 76.3 kB / 0.9559 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008719/0.01756, allocations: 156.8 kB / 0.956 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01756, allocations: 0 / 0.956 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001075/0.01863, allocations: 201.4 kB / 0.9562 GB, free: 6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.01865, allocations: 4 kB / 0.9562 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01866, allocations: 4 kB / 0.9562 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.01868, allocations: 7.938 kB / 0.9562 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.01906, allocations: 31.95 kB / 0.9563 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.01907, allocations: 4 kB / 0.9563 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.01934, allocations: 27.91 kB / 0.9563 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.01936, allocations: 0 / 0.9563 GB, free: 5.922 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: 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.0002031/0.01956, allocations: 130.6 kB / 0.9564 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.01962, allocations: 15.91 kB / 0.9564 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.01967, allocations: 16.78 kB / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.01968, allocations: 3.938 kB / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.01969, allocations: 4 kB / 0.9565 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01969, allocations: 0 / 0.9565 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.02003, allocations: 157.2 kB / 0.9566 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.02003, allocations: 0 / 0.9566 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.02047, allocations: 39.95 kB / 0.9566 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.02048, allocations: 4 kB / 0.9566 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.0205, allocations: 4 kB / 0.9566 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.0205, allocations: 0 / 0.9566 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.02051, allocations: 3.938 kB / 0.9567 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.02161, allocations: 303.3 kB / 0.9569 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.02165, allocations: 11.95 kB / 0.957 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.0217, allocations: 3.984 kB / 0.957 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/0.02202, allocations: 23.97 kB / 0.957 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.02218, allocations: 35.91 kB / 0.957 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.02221, allocations: 7.984 kB / 0.957 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001269/0.02233, allocations: 112.7 kB / 0.9571 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02233, allocations: 4 kB / 0.9571 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002778/0.02261, allocations: 23.94 kB / 0.9572 GB, free: 4.984 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: 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.0001619/0.02277, allocations: 95.25 kB / 0.9572 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007145/0.02349, allocations: 175.7 kB / 0.9574 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02349, allocations: 0 / 0.9574 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.02385, allocations: 91.91 kB / 0.9575 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.02417, allocations: 19.98 kB / 0.9575 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006985/0.02487, allocations: 247.5 kB / 0.9578 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.025, allocations: 97.16 kB / 0.9578 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.02511, allocations: 24.48 kB / 0.9579 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.02523, allocations: 28.48 kB / 0.9579 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of SimCode: time 9.22e-07/0.02523, allocations: 0 / 0.9579 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of Templates: time 0.00693/0.03216, allocations: 2.58 MB / 0.9604 GB, free: 1.629 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.438418954610825]