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.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.001763/0.001763, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002302/0.002302, allocations: 188.1 kB / 22.11 MB, free: 4.223 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.613/1.613, allocations: 225.6 MB / 250.8 MB, free: 2.891 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.002/3.002, allocations: 495.8 MB / 0.783 GB, free: 12.32 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-maint.12.x/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_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: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.89 kB / 1.137 GB, free: 12.18 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.14, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001736/1.142, allocations: 0.8744 MB / 1.308 GB, free: 33.23 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0007805/1.143, allocations: 0.8937 MB / 1.309 GB, free: 32.56 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/1.143, allocations: 0 / 1.309 GB, free: 32.56 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 9.859e-05/1.143, allocations: 18.12 kB / 1.309 GB, free: 32.55 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001048/1.143, allocations: 32.66 kB / 1.309 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 9.64e-05/1.143, allocations: 41.92 kB / 1.309 GB, free: 32.5 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0001362/1.143, allocations: 133 kB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/1.144, allocations: 42.84 kB / 1.309 GB, free: 32.42 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.191e-05/1.144, allocations: 54.5 kB / 1.309 GB, free: 32.4 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/1.144, allocations: 86.28 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 2.761e-05/1.144, allocations: 11.97 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.055e-05/1.144, allocations: 14.47 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 5.324e-05/1.144, allocations: 47.81 kB / 1.309 GB, free: 32.33 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 5.44e-05/1.144, allocations: 64.66 kB / 1.309 GB, free: 32.29 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001443/1.144, allocations: 169.8 kB / 1.309 GB, free: 32.23 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/1.144, allocations: 2.844 kB / 1.309 GB, free: 32.23 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.603e-06/1.144, allocations: 0 / 1.309 GB, free: 32.23 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.911e-06/1.144, allocations: 3.938 kB / 1.309 GB, free: 32.23 MB / 1.061 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.0007701/1.145, allocations: 444.9 kB / 1.31 GB, free: 31.88 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/1.145, allocations: 8.594 kB / 1.31 GB, free: 31.88 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/1.145, allocations: 21.2 kB / 1.31 GB, free: 31.87 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/1.145, allocations: 163.3 kB / 1.31 GB, free: 31.71 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/1.145, allocations: 11.34 kB / 1.31 GB, free: 31.7 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/1.145, allocations: 6.375 kB / 1.31 GB, free: 31.7 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/1.146, allocations: 178.4 kB / 1.31 GB, free: 31.64 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.146, allocations: 192 / 1.31 GB, free: 31.64 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/1.146, allocations: 13.8 kB / 1.31 GB, free: 31.63 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.146, allocations: 2.594 kB / 1.31 GB, free: 31.63 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007228/1.146, allocations: 215.5 kB / 1.31 GB, free: 31.6 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008422/1.147, allocations: 490.3 kB / 1.311 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/1.148, allocations: 155 kB / 1.311 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/1.148, allocations: 121.3 kB / 1.311 GB, free: 31.19 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/1.148, allocations: 0 / 1.311 GB, free: 31.19 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/1.148, allocations: 33.56 kB / 1.311 GB, free: 31.15 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=9): time 8.51e-07/1.148, allocations: 0 / 1.311 GB, free: 31.15 MB / 1.061 GB
Notification: Performance of matching and sorting (n=9): time 0.001189/1.149, allocations: 360.5 kB / 1.311 GB, free: 31.05 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/1.149, allocations: 54.22 kB / 1.311 GB, free: 30.99 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/1.149, allocations: 187 kB / 1.312 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.313e-05/1.149, allocations: 28.61 kB / 1.312 GB, free: 30.83 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/1.149, allocations: 132.5 kB / 1.312 GB, free: 30.71 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/1.149, allocations: 28.8 kB / 1.312 GB, free: 30.69 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/1.149, allocations: 23.34 kB / 1.312 GB, free: 30.66 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 4.55e-05/1.15, allocations: 324.2 kB / 1.312 GB, free: 30.35 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/1.15, allocations: 103 kB / 1.312 GB, free: 30.33 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/1.15, allocations: 106.9 kB / 1.312 GB, free: 30.31 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/1.151, allocations: 219.5 kB / 1.312 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.151, allocations: 0.5625 kB / 1.312 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007921/1.152, allocations: 270.4 kB / 1.313 GB, free: 30.17 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.152, allocations: 4.906 kB / 1.313 GB, free: 30.17 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/1.152, allocations: 3.062 kB / 1.313 GB, free: 30.17 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.152, allocations: 0 / 1.313 GB, free: 30.17 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/1.152, allocations: 46.03 kB / 1.313 GB, free: 30.16 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.152, allocations: 3.938 kB / 1.313 GB, free: 30.16 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/1.152, allocations: 34.84 kB / 1.313 GB, free: 30.16 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/1.152, allocations: 2.938 kB / 1.313 GB, free: 30.16 MB / 1.061 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 7.638e-05/1.152, allocations: 129.9 kB / 1.313 GB, free: 30.03 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/1.152, allocations: 17.78 kB / 1.313 GB, free: 30.02 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/1.152, allocations: 22.73 kB / 1.313 GB, free: 30 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/1.152, allocations: 0 / 1.313 GB, free: 30 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.152, allocations: 3.938 kB / 1.313 GB, free: 30 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/1.152, allocations: 2.844 kB / 1.313 GB, free: 30 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/1.153, allocations: 223.6 kB / 1.313 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.153, allocations: 2.594 kB / 1.313 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/1.153, allocations: 41.88 kB / 1.313 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.153, allocations: 3.375 kB / 1.313 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/1.153, allocations: 4 kB / 1.313 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.153, allocations: 0 / 1.313 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.153, allocations: 3.938 kB / 1.313 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/1.154, allocations: 359 kB / 1.314 GB, free: 29.61 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/1.154, allocations: 14.84 kB / 1.314 GB, free: 29.6 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/1.154, allocations: 3.25 kB / 1.314 GB, free: 29.6 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/1.154, allocations: 30.59 kB / 1.314 GB, free: 29.6 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/1.154, allocations: 21.41 kB / 1.314 GB, free: 29.59 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/1.154, allocations: 6.906 kB / 1.314 GB, free: 29.59 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 6.774e-05/1.154, allocations: 127 kB / 1.314 GB, free: 29.5 MB / 1.061 GB
Notification: Performance of sort global known variables: time 9e-08/1.154, allocations: 0 / 1.314 GB, free: 29.5 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002497/1.154, allocations: 29.84 kB / 1.314 GB, free: 29.5 MB / 1.061 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 9.579e-05/1.154, allocations: 93.69 kB / 1.314 GB, free: 29.41 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0008044/1.155, allocations: 224.8 kB / 1.314 GB, free: 29.37 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.155, allocations: 10.53 kB / 1.314 GB, free: 29.36 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004092/1.156, allocations: 116.1 kB / 1.314 GB, free: 29.34 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/1.156, allocations: 22.62 kB / 1.314 GB, free: 29.33 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/1.156, allocations: 315.6 kB / 1.315 GB, free: 29.12 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/1.157, allocations: 0.7263 MB / 1.315 GB, free: 28.42 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 7.847e-05/1.157, allocations: 22.34 kB / 1.315 GB, free: 28.42 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/1.157, allocations: 13.38 kB / 1.315 GB, free: 28.41 MB / 1.061 GB
Notification: Performance of SimCode: time 3.91e-07/1.157, allocations: 4 kB / 1.315 GB, free: 28.41 MB / 1.061 GB
Notification: Performance of Templates: time 0.00431/1.161, allocations: 1.958 MB / 1.317 GB, free: 28.26 MB / 1.061 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: 10.083987703546882]