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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00266/0.00266, allocations: 194.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 69.72 kB / 0.9121 GB, free: 33.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3944, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002169/0.3966, allocations: 0.8797 MB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.3976, allocations: 0.8762 MB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.3977, allocations: 4 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.3978, allocations: 15.8 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.398, allocations: 31.73 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.3981, allocations: 39.94 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3983, allocations: 135.6 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.3984, allocations: 61.11 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.3985, allocations: 63.75 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3986, allocations: 75.73 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.3987, allocations: 16 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.485e-05/0.3987, allocations: 12 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.3988, allocations: 47.83 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.096e-05/0.3989, allocations: 67.59 kB / 1.071 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.3991, allocations: 167.6 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3991, allocations: 0 / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3991, allocations: 0 / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3991, allocations: 4 kB / 1.071 GB, free: 7.926 MB / 0.8262 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.0008413/0.3999, allocations: 0.4987 MB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4, allocations: 8.031 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.4, allocations: 16.75 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.4003, allocations: 227.9 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.4003, allocations: 8.375 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.4003, allocations: 4.375 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.4009, allocations: 183.8 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4009, allocations: 8.062 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.4009, allocations: 7.938 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.4009, allocations: 7.984 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007238/0.4016, allocations: 219.8 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.4026, allocations: 0.508 MB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.403, allocations: 150.5 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.4034, allocations: 116.7 kB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.4034, allocations: 4 kB / 1.073 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.4035, allocations: 34.75 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 3.076e-06/0.4035, allocations: 0 / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001226/0.4047, allocations: 365 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.4048, allocations: 59.34 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.4049, allocations: 179.6 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.405, allocations: 29.7 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.405, allocations: 124 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.4051, allocations: 31.55 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.4051, allocations: 21.72 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4053, allocations: 322.8 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.4056, allocations: 99.89 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.406, allocations: 107.9 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/0.4067, allocations: 216.6 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4067, allocations: 0 / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007623/0.4075, allocations: 257.3 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4075, allocations: 4 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4075, allocations: 0.6562 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4075, allocations: 4 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.4078, allocations: 47.88 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4078, allocations: 7.938 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.408, allocations: 31.95 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.408, allocations: 4 kB / 1.074 GB, free: 3.844 MB / 0.8262 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.0001103/0.4082, allocations: 131.4 kB / 1.075 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.4082, allocations: 19.75 kB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.4083, allocations: 21.39 kB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4083, allocations: 3.938 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4083, allocations: 7.938 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4083, allocations: 4 kB / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.4085, allocations: 245.5 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4085, allocations: 4 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.4088, allocations: 43.94 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4088, allocations: 3.938 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4088, allocations: 0 / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4088, allocations: 0 / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.4088, allocations: 3.938 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008342/0.4097, allocations: 367.1 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.4097, allocations: 88.92 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.4098, allocations: 0 / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.41, allocations: 35.94 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.4101, allocations: 19.92 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.4101, allocations: 0 / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.844e-05/0.4102, allocations: 140.1 kB / 1.076 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4102, allocations: 4 kB / 1.076 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002437/0.4104, allocations: 24 kB / 1.076 GB, free: 2.605 MB / 0.8262 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.0001632/0.4106, allocations: 103.7 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008022/0.4114, allocations: 231.7 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4114, allocations: 0 / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.4118, allocations: 119.8 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.4122, allocations: 28.39 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.4128, allocations: 295.5 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.413, allocations: 0.7353 MB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.335e-05/0.4131, allocations: 24.41 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.4132, allocations: 11.44 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.4132, allocations: 0 / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of Templates: time 0.004338/0.4175, allocations: 1.909 MB / 1.079 GB, free: 15.12 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) 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) Reference file matches