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.001529/0.001529, allocations: 105.7 kB / 16.45 MB, free: 6.453 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.001596/0.001596, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.605/1.605, allocations: 230.6 MB / 252.8 MB, free: 8.945 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 3.449/3.449, allocations: 0.4899 GB / 0.7915 GB, free: 33.4 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.002125/0.002125, allocations: 73.45 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4904, allocations: 176.1 MB / 1.321 GB, free: 2.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002435/0.4929, allocations: 0.896 MB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.4941, allocations: 0.9055 MB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.4942, allocations: 0 / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.4943, allocations: 19.8 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.4945, allocations: 23.8 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.4946, allocations: 35.95 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.4948, allocations: 143.5 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.4951, allocations: 53.33 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.4952, allocations: 59.77 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.4953, allocations: 83.72 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.4953, allocations: 12 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.348e-05/0.4954, allocations: 12 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.4954, allocations: 43.84 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.347e-05/0.4955, allocations: 63.59 kB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.4958, allocations: 183.1 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4958, allocations: 0 / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4958, allocations: 4 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.4958, allocations: 0 / 1.324 GB, free: 252 kB / 1.014 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.001067/0.4969, allocations: 0.5064 MB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4969, allocations: 15.98 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.497, allocations: 16.84 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.4972, allocations: 220 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.4973, allocations: 4.375 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.4973, allocations: 8.375 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.4979, allocations: 182 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4979, allocations: 8.172 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.498, allocations: 7.938 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.498, allocations: 7.984 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007963/0.4988, allocations: 215.8 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.4998, allocations: 0.5081 MB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.5003, allocations: 146.4 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.5007, allocations: 112.8 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.5007, allocations: 192 / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.5008, allocations: 46.42 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.5008, allocations: 0 / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.001295/0.5021, allocations: 361.4 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.5021, allocations: 55.41 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.5023, allocations: 186.8 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.5024, allocations: 25.7 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.5024, allocations: 120 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.5025, allocations: 31.69 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.5026, allocations: 21.72 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.5027, allocations: 330.8 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.5031, allocations: 103.9 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.5035, allocations: 99.89 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/0.5043, allocations: 220.6 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5043, allocations: 0 / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008219/0.5051, allocations: 253.9 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.5051, allocations: 11.98 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5051, allocations: 0 / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.5051, allocations: 4 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.5054, allocations: 44.05 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5054, allocations: 7.875 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.5056, allocations: 35.89 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.5056, allocations: 0 / 1.328 GB, free: 12.16 MB / 1.029 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.0001494/0.5058, allocations: 133.8 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.5058, allocations: 15.89 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.5059, allocations: 21.41 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5059, allocations: 4 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.5059, allocations: 3.938 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5059, allocations: 0 / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.5062, allocations: 249.5 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5062, allocations: 0 / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.5065, allocations: 51.89 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5065, allocations: 3.938 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.5065, allocations: 0 / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5065, allocations: 0 / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5065, allocations: 7.938 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000908/0.5074, allocations: 355.2 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.5075, allocations: 89.02 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.5075, allocations: 8 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.5077, allocations: 31.95 kB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.5078, allocations: 19.92 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.5078, allocations: 0 / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001203/0.5079, allocations: 139.1 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5079, allocations: 0 / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002484/0.5082, allocations: 35.89 kB / 1.329 GB, free: 10.91 MB / 1.029 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.000182/0.5084, allocations: 99.23 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008551/0.5092, allocations: 219.7 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5092, allocations: 0 / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.5096, allocations: 128 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.51, allocations: 18.17 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.5106, allocations: 303.3 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.511, allocations: 0.7235 MB / 1.33 GB, free: 9.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.3e-05/0.5111, allocations: 24.41 kB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.5112, allocations: 19.44 kB / 1.33 GB, free: 9.34 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.5112, allocations: 0 / 1.33 GB, free: 9.34 MB / 1.029 GB Notification: Performance of Templates: time 0.005323/0.5165, allocations: 1.922 MB / 1.332 GB, free: 7.438 MB / 1.029 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/jenkins/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: 9.815841124858707]