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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=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.001127/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 199.5 kB / 16.14 MB, free: 6.645 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.863/2.863, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.09 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.354, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002223/0.3563, allocations: 0.9441 MB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.3573, allocations: 0.8741 MB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.3573, allocations: 4 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.3575, allocations: 7.875 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3576, allocations: 31.78 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.3577, allocations: 35.95 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.3579, allocations: 127.6 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.3581, allocations: 53.31 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.3582, allocations: 59.7 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.3583, allocations: 79.72 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.3584, allocations: 12 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.262e-05/0.3584, allocations: 8 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.3585, allocations: 43.83 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.3586, allocations: 59.59 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.3587, allocations: 159.7 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3588, allocations: 0 / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3588, allocations: 0 / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3588, allocations: 0 / 1.055 GB, free: 6.316 MB / 0.8106 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.0009536/0.3597, allocations: 0.5065 MB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3598, allocations: 8.031 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.3598, allocations: 16.75 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.36, allocations: 221.1 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3601, allocations: 8.375 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3601, allocations: 12.36 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.3606, allocations: 178.1 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3606, allocations: 192 / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.3607, allocations: 7.938 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3607, allocations: 0 / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.3614, allocations: 225.1 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3624, allocations: 0.5236 MB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.3629, allocations: 142.5 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.3632, allocations: 120.7 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3633, allocations: 0 / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3633, allocations: 34.56 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.3633, allocations: 0 / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001176/0.3645, allocations: 357.7 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.3645, allocations: 55.41 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3647, allocations: 186.2 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3647, allocations: 25.8 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.3648, allocations: 131.8 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.3649, allocations: 31.5 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.3649, allocations: 21.7 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.365, allocations: 326.8 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.3654, allocations: 103.9 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.3658, allocations: 103.9 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.3664, allocations: 208.6 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3665, allocations: 4 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007534/0.3672, allocations: 261.3 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3672, allocations: 4 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.3672, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3673, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.3676, allocations: 47.95 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3676, allocations: 11.88 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3678, allocations: 35.84 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.3678, allocations: 4 kB / 1.058 GB, free: 2.227 MB / 0.8106 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.0001053/0.3679, allocations: 127.4 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.3679, allocations: 15.91 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.368, allocations: 21.41 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.368, allocations: 0 / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.368, allocations: 3.938 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.368, allocations: 4.266 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.3683, allocations: 249.4 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3683, allocations: 0 / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.3686, allocations: 47.88 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3686, allocations: 7.938 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3686, allocations: 8 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3686, allocations: 0 / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3686, allocations: 3.938 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.3694, allocations: 355.1 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.3695, allocations: 85.02 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3695, allocations: 0 / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.3697, allocations: 31.95 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.3698, allocations: 31.83 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3698, allocations: 4 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001209/0.37, allocations: 136.1 kB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.37, allocations: 0 / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002508/0.3702, allocations: 31.91 kB / 1.059 GB, free: 0.9922 MB / 0.8106 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.0001732/0.3704, allocations: 102 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007592/0.3712, allocations: 227.7 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3712, allocations: 0 / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.3715, allocations: 119.9 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.3719, allocations: 16.45 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.3725, allocations: 357.1 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3728, allocations: 0.7238 MB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.11e-05/0.3729, allocations: 24.41 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.373, allocations: 15.38 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.373, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.004075/0.3771, allocations: 1.552 MB / 1.062 GB, free: 13.83 MB / 0.8262 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