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.001892/0.001892, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002374/0.002374, allocations: 211.5 kB / 22.99 MB, free: 4.984 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.405/3.405, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002997/0.002997, allocations: 63.56 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.428, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002773/0.4308, allocations: 0.838 MB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.4325, allocations: 0.9055 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.4326, allocations: 11.94 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.4327, allocations: 11.86 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.4329, allocations: 27.73 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.4331, allocations: 39.94 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.4333, allocations: 135.6 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.4336, allocations: 41.52 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.4337, allocations: 59.78 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.4339, allocations: 95.64 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.4339, allocations: 12 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.736e-05/0.434, allocations: 16 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.434, allocations: 39.84 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.753e-05/0.4341, allocations: 55.72 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.4344, allocations: 175.2 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4344, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4344, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.4344, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 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.001229/0.4356, allocations: 441.4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4357, allocations: 8.031 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.4358, allocations: 16.84 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.4361, allocations: 170.1 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.4361, allocations: 8.375 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.4361, allocations: 8.375 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.4367, allocations: 187.1 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4368, allocations: 192 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.4368, allocations: 7.938 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4368, allocations: 7.938 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.4376, allocations: 223.7 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.4388, allocations: 436 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.4392, allocations: 142.5 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.4396, allocations: 116.7 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.4396, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.4397, allocations: 34.56 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.4397, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.001282/0.441, allocations: 365.6 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.441, allocations: 51.41 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.4412, allocations: 182.3 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.4412, allocations: 25.7 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.4413, allocations: 120.1 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.4414, allocations: 31.7 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.4415, allocations: 29.64 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.4417, allocations: 334.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.4421, allocations: 99.89 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.4424, allocations: 107.9 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/0.4432, allocations: 213.2 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4432, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008113/0.444, allocations: 261.2 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.444, allocations: 4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.444, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.444, allocations: 4 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.4444, allocations: 47.95 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.4444, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.4446, allocations: 43.75 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.4446, allocations: 7.938 kB / 1.333 GB, free: 10.71 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.0001543/0.4448, allocations: 126.4 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.4448, allocations: 15.91 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.4449, allocations: 21.41 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4449, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4449, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.4449, allocations: 11.92 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.4452, allocations: 169.2 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4452, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.4454, allocations: 47.95 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4454, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4454, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4454, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4454, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009571/0.4464, allocations: 363.1 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.4464, allocations: 15.91 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.4464, allocations: 8 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.4467, allocations: 31.95 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.4468, allocations: 15.97 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4468, allocations: 3.938 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001704/0.4469, allocations: 135.1 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4469, allocations: 0 / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002662/0.4472, allocations: 35.83 kB / 1.334 GB, free: 9.668 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.0001686/0.4474, allocations: 105.7 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000813/0.4482, allocations: 223.6 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4482, allocations: 4 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.4486, allocations: 107.9 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.4489, allocations: 25.34 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007175/0.4496, allocations: 307.3 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.4498, allocations: 110.1 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.455e-05/0.4499, allocations: 24.42 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.4499, allocations: 15.44 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4499, allocations: 0 / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of Templates: time 0.005846/0.4558, allocations: 2.192 MB / 1.337 GB, free: 6.559 MB / 1.029 GB " [Timeout remaining time 300] 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 -s gbode -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: 9.388536288999603]