Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 110 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002284/0.002284, allocations: 185.2 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.258/3.258, allocations: 0.4893 GB / 0.7884 GB, free: 33.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 68.78 kB / 1.145 GB, free: 30.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3766, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002329/0.3789, allocations: 0.8987 MB / 1.317 GB, free: 8.789 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3802, allocations: 0.8819 MB / 1.318 GB, free: 7.895 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/0.3802, allocations: 0 / 1.318 GB, free: 7.895 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.3804, allocations: 19.8 kB / 1.318 GB, free: 7.875 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.3805, allocations: 27.73 kB / 1.318 GB, free: 7.848 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.3807, allocations: 39.94 kB / 1.318 GB, free: 7.809 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000221/0.3809, allocations: 143.6 kB / 1.318 GB, free: 7.668 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.3811, allocations: 33.53 kB / 1.318 GB, free: 7.629 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3812, allocations: 55.83 kB / 1.318 GB, free: 7.574 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3813, allocations: 87.67 kB / 1.318 GB, free: 7.488 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.3814, allocations: 12 kB / 1.318 GB, free: 7.477 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.557e-05/0.3814, allocations: 16 kB / 1.318 GB, free: 7.461 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.3815, allocations: 43.83 kB / 1.318 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.3815, allocations: 67.59 kB / 1.318 GB, free: 7.352 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3818, allocations: 175.2 kB / 1.318 GB, free: 7.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3818, allocations: 0 / 1.318 GB, free: 7.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3818, allocations: 7.938 kB / 1.318 GB, free: 7.172 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3818, allocations: 0 / 1.318 GB, free: 7.172 MB / 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.001168/0.383, allocations: 445.4 kB / 1.319 GB, free: 6.703 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 8.804e-05/0.3831, allocations: 12.03 kB / 1.319 GB, free: 6.691 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.3831, allocations: 16.84 kB / 1.319 GB, free: 6.676 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.3835, allocations: 162.2 kB / 1.319 GB, free: 6.492 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.3835, allocations: 8.375 kB / 1.319 GB, free: 6.484 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.3835, allocations: 8.375 kB / 1.319 GB, free: 6.477 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006346/0.3842, allocations: 176.2 kB / 1.319 GB, free: 6.301 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.3842, allocations: 4.188 kB / 1.319 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.3842, allocations: 7.938 kB / 1.319 GB, free: 6.289 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3842, allocations: 0 / 1.319 GB, free: 6.289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008018/0.385, allocations: 227.7 kB / 1.32 GB, free: 6.066 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.3862, allocations: 491.4 kB / 1.32 GB, free: 5.543 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.3867, allocations: 150.4 kB / 1.32 GB, free: 5.387 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.387, allocations: 116.8 kB / 1.32 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.3871, allocations: 3.984 kB / 1.32 GB, free: 5.266 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.3871, allocations: 30.56 kB / 1.32 GB, free: 5.227 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3871, allocations: 0 / 1.32 GB, free: 5.227 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.001199/0.3883, allocations: 357.6 kB / 1.321 GB, free: 4.871 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.3884, allocations: 59.41 kB / 1.321 GB, free: 4.801 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.3886, allocations: 182.1 kB / 1.321 GB, free: 4.613 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.3886, allocations: 25.7 kB / 1.321 GB, free: 4.582 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.3887, allocations: 128 kB / 1.321 GB, free: 4.453 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.3888, allocations: 27.73 kB / 1.321 GB, free: 4.426 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.3888, allocations: 25.72 kB / 1.321 GB, free: 4.395 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.389, allocations: 326.8 kB / 1.321 GB, free: 4.066 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.3894, allocations: 103.9 kB / 1.321 GB, free: 3.965 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.3897, allocations: 104.2 kB / 1.322 GB, free: 3.863 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006667/0.3904, allocations: 220.8 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3904, allocations: 0 / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000806/0.3912, allocations: 261.3 kB / 1.322 GB, free: 3.383 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3912, allocations: 8 kB / 1.322 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3912, allocations: 0 / 1.322 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.3913, allocations: 4 kB / 1.322 GB, free: 3.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.3915, allocations: 39.95 kB / 1.322 GB, free: 3.332 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.3916, allocations: 3.938 kB / 1.322 GB, free: 3.328 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.3918, allocations: 51.83 kB / 1.322 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3918, allocations: 0 / 1.322 GB, free: 3.277 MB / 1.014 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.0001585/0.3919, allocations: 133.8 kB / 1.322 GB, free: 3.137 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.392, allocations: 11.94 kB / 1.322 GB, free: 3.125 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/0.392, allocations: 21.34 kB / 1.322 GB, free: 3.098 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/0.392, allocations: 4 kB / 1.322 GB, free: 3.094 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3921, allocations: 3.938 kB / 1.322 GB, free: 3.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3921, allocations: 0 / 1.322 GB, free: 3.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.3924, allocations: 224.6 kB / 1.322 GB, free: 2.828 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3924, allocations: 0 / 1.322 GB, free: 2.828 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.3927, allocations: 43.95 kB / 1.323 GB, free: 2.785 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.3927, allocations: 3.984 kB / 1.323 GB, free: 2.781 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3927, allocations: 0 / 1.323 GB, free: 2.781 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3927, allocations: 0 / 1.323 GB, free: 2.781 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.3927, allocations: 7.938 kB / 1.323 GB, free: 2.773 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.3935, allocations: 363.2 kB / 1.323 GB, free: 2.402 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.3936, allocations: 11.91 kB / 1.323 GB, free: 2.391 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3936, allocations: 4 kB / 1.323 GB, free: 2.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.3938, allocations: 27.95 kB / 1.323 GB, free: 2.359 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.3939, allocations: 27.91 kB / 1.323 GB, free: 2.332 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.3939, allocations: 0 / 1.323 GB, free: 2.332 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001231/0.394, allocations: 136.4 kB / 1.323 GB, free: 2.199 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.394, allocations: 0 / 1.323 GB, free: 2.199 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002578/0.3943, allocations: 27.94 kB / 1.323 GB, free: 2.172 MB / 1.014 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.0001643/0.3944, allocations: 99.72 kB / 1.323 GB, free: 2.066 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007934/0.3952, allocations: 215.8 kB / 1.323 GB, free: 1.855 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3952, allocations: 4 kB / 1.323 GB, free: 1.852 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.3956, allocations: 115.8 kB / 1.324 GB, free: 1.738 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.3959, allocations: 23.73 kB / 1.324 GB, free: 1.715 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/0.3966, allocations: 311.3 kB / 1.324 GB, free: 1.387 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.397, allocations: 0.7236 MB / 1.325 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.026e-05/0.3971, allocations: 16.42 kB / 1.325 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.3972, allocations: 23.38 kB / 1.325 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.3972, allocations: 0 / 1.325 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of Templates: time 0.005497/0.4027, allocations: 1.958 MB / 1.327 GB, free: 14.66 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.278283407911658]