Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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_11_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_11_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.001149/0.001149, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009047/0.009047, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.611/1.611, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.124/3.124, allocations: 470.6 MB / 0.7442 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003471, allocations: 13.34 kB / 0.9123 GB, free: 34.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.382, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001238/0.3833, allocations: 0.599 MB / 1.07 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3845, allocations: 0.8741 MB / 1.071 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.3846, allocations: 4 kB / 1.071 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.3847, allocations: 11.88 kB / 1.071 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.3848, allocations: 15.86 kB / 1.071 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.3849, allocations: 39.95 kB / 1.071 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.3852, allocations: 131.6 kB / 1.072 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.3854, allocations: 49.31 kB / 1.072 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.3855, allocations: 47.72 kB / 1.072 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.3856, allocations: 75.73 kB / 1.072 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.3856, allocations: 4 kB / 1.072 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.3857, allocations: 8 kB / 1.072 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.3857, allocations: 35.84 kB / 1.072 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.3858, allocations: 81.3 kB / 1.072 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.386, allocations: 167.5 kB / 1.072 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.386, allocations: 0 / 1.072 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.386, allocations: 0 / 1.072 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3861, allocations: 0 / 1.072 GB, free: 9.219 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.000983/0.387, allocations: 0.5027 MB / 1.072 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3871, allocations: 8.031 kB / 1.072 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.3872, allocations: 20.75 kB / 1.073 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3874, allocations: 215.9 kB / 1.073 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3874, allocations: 8.375 kB / 1.073 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.3875, allocations: 8.375 kB / 1.073 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.3881, allocations: 207.6 kB / 1.073 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3881, allocations: 4.188 kB / 1.073 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.3881, allocations: 7.938 kB / 1.073 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3881, allocations: 0 / 1.073 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000879/0.389, allocations: 275.8 kB / 1.073 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.3902, allocations: 0.5393 MB / 1.074 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.3907, allocations: 182.4 kB / 1.074 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004529/0.3912, allocations: 148.7 kB / 1.074 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3912, allocations: 0 / 1.074 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3912, allocations: 30.56 kB / 1.074 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 3.257e-06/0.3912, allocations: 3.984 kB / 1.074 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001487/0.3927, allocations: 449.3 kB / 1.075 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3928, allocations: 51.41 kB / 1.075 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.393, allocations: 183.1 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.393, allocations: 29.7 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3931, allocations: 128 kB / 1.075 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.3932, allocations: 27.56 kB / 1.075 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.3932, allocations: 9.719 kB / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3934, allocations: 330.8 kB / 1.075 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.3938, allocations: 131.8 kB / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.3943, allocations: 132.2 kB / 1.075 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008297/0.3951, allocations: 276.6 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3951, allocations: 0 / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009177/0.396, allocations: 309.2 kB / 1.076 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3961, allocations: 8 kB / 1.076 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3961, allocations: 4 kB / 1.076 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3961, allocations: 0 / 1.076 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.3964, allocations: 55.95 kB / 1.076 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3964, allocations: 7.938 kB / 1.076 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.3967, allocations: 43.95 kB / 1.076 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.3967, allocations: 3.984 kB / 1.076 GB, free: 4.719 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.0001429/0.3968, allocations: 133.8 kB / 1.076 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.3969, allocations: 15.8 kB / 1.076 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.397, allocations: 21.41 kB / 1.076 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.397, allocations: 4 kB / 1.076 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.397, allocations: 3.938 kB / 1.076 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.397, allocations: 0 / 1.076 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.3973, allocations: 257.4 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3973, allocations: 4 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.3976, allocations: 59.89 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3976, allocations: 0 / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3977, allocations: 4 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3977, allocations: 0 / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3977, allocations: 3.938 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009895/0.3987, allocations: 415.4 kB / 1.077 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.3987, allocations: 88.92 kB / 1.077 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.3988, allocations: 4 kB / 1.077 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.399, allocations: 47.95 kB / 1.077 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.3991, allocations: 19.91 kB / 1.077 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3991, allocations: 4 kB / 1.077 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001151/0.3992, allocations: 128.3 kB / 1.077 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3993, allocations: 0 / 1.077 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000262/0.3995, allocations: 31.91 kB / 1.077 GB, free: 3.406 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.0002096/0.3997, allocations: 111.1 kB / 1.077 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009389/0.4007, allocations: 279.7 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4007, allocations: 0 / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005292/0.4012, allocations: 143.9 kB / 1.078 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.4016, allocations: 25.67 kB / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007073/0.4023, allocations: 346.6 kB / 1.078 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.4028, allocations: 0.7238 MB / 1.079 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.339e-05/0.4029, allocations: 24.41 kB / 1.079 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.4029, allocations: 11.91 kB / 1.079 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.4029, allocations: 0 / 1.079 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of Templates: time 0.005023/0.408, allocations: 1.553 MB / 1.08 GB, free: 172 kB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches