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.001405/0.001405, 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.001563/0.001563, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.97/2.97, allocations: 472.7 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.06 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3599, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002457/0.3624, allocations: 0.9345 MB / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3636, allocations: 0.878 MB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.502e-05/0.3637, allocations: 0 / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.3638, allocations: 19.86 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.364, allocations: 27.73 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.3641, allocations: 35.97 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.3643, allocations: 135.6 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.3646, allocations: 57.11 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.552e-05/0.3647, allocations: 51.77 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.3648, allocations: 79.72 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.3648, allocations: 8 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.467e-05/0.3649, allocations: 12 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/0.365, allocations: 35.84 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.3651, allocations: 67.59 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.3652, allocations: 155.6 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3653, allocations: 4 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3653, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.3653, allocations: 4 kB / 1.07 GB, free: 8.359 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.001004/0.3663, allocations: 0.4948 MB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3663, allocations: 8.031 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.3664, allocations: 20.75 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.3666, allocations: 219.9 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3667, allocations: 8.375 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.3667, allocations: 4.375 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.3673, allocations: 179.8 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3673, allocations: 4.125 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.3673, allocations: 7.938 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3673, allocations: 4 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.3681, allocations: 227.8 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3691, allocations: 0.5158 MB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.3695, allocations: 154.4 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.3699, allocations: 112.8 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.3699, allocations: 4 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.37, allocations: 30.75 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.756e-06/0.37, allocations: 7.938 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001219/0.3712, allocations: 361.4 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3713, allocations: 59.34 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3714, allocations: 175.6 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.3715, allocations: 25.8 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.3715, allocations: 123.9 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.3716, allocations: 31.55 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.3717, allocations: 29.72 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3718, allocations: 322.8 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.3722, allocations: 103.9 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.3725, allocations: 103.9 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.3733, allocations: 216.6 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3733, allocations: 0 / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007943/0.3741, allocations: 257.3 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3741, allocations: 4 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3741, allocations: 4 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3741, allocations: 0 / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.3744, allocations: 47.88 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3745, allocations: 3.938 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.3747, allocations: 35.95 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3747, allocations: 4 kB / 1.074 GB, free: 4.281 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.0001283/0.3748, allocations: 131.4 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.3749, allocations: 11.81 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.3749, allocations: 21.39 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3749, allocations: 0 / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3749, allocations: 7.938 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3749, allocations: 288 / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3752, allocations: 249.5 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3752, allocations: 11.92 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.3755, allocations: 51.83 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3755, allocations: 3.984 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3755, allocations: 0 / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3755, allocations: 0 / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.3755, allocations: 3.938 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.3763, allocations: 355.1 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.3764, allocations: 96.91 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3764, allocations: 0 / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.3767, allocations: 35.95 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/0.3768, allocations: 19.92 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.3768, allocations: 0 / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001031/0.3769, allocations: 144.1 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3769, allocations: 0 / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002455/0.3771, allocations: 20 kB / 1.075 GB, free: 3.047 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.0001694/0.3773, allocations: 115.2 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000805/0.3781, allocations: 215.7 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3781, allocations: 4 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.3785, allocations: 119.8 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.3789, allocations: 26.33 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.3795, allocations: 349.1 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.3798, allocations: 0.7277 MB / 1.076 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.357e-05/0.3799, allocations: 24.42 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.38, allocations: 11.44 kB / 1.076 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.38, allocations: 0 / 1.076 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of Templates: time 0.004059/0.3841, allocations: 1.559 MB / 1.078 GB, free: 15.87 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