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.001213/0.001213, allocations: 107.6 kB / 15.99 MB, free: 6.348 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.001163/0.001163, allocations: 189.1 kB / 16.91 MB, free: 6.188 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.583/2.583, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 72.42 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2828, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001997/0.2848, allocations: 0.9457 MB / 1.065 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009715/0.2858, allocations: 0.878 MB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.2858, allocations: 7.875 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.791e-05/0.286, allocations: 11.92 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.691e-05/0.2861, allocations: 23.78 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.953e-05/0.2862, allocations: 35.97 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.2863, allocations: 139.6 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2865, allocations: 53.33 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.2866, allocations: 55.77 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.2867, allocations: 83.67 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.2868, allocations: 16 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.2868, allocations: 12 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.2869, allocations: 55.81 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.2869, allocations: 63.59 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.2871, allocations: 124 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.2871, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2871, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2871, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8419 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.0008986/0.288, allocations: 0.5081 MB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.288, allocations: 8.031 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.2881, allocations: 16.75 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.2883, allocations: 221.1 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2883, allocations: 4.375 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.2883, allocations: 8.375 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.2889, allocations: 186 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2889, allocations: 192 / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2889, allocations: 3.938 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2889, allocations: 4 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.2896, allocations: 223.8 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/0.2906, allocations: 0.5042 MB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.291, allocations: 150.4 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.2914, allocations: 116.9 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.2914, allocations: 3.938 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.2915, allocations: 42.55 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.2915, allocations: 0 / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001135/0.2926, allocations: 353.5 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2927, allocations: 51.5 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2929, allocations: 194.8 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.2929, allocations: 25.7 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.293, allocations: 123.9 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.293, allocations: 31.55 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.2931, allocations: 21.72 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2932, allocations: 330.8 kB / 1.07 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.2936, allocations: 103.9 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.2939, allocations: 103.9 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.2946, allocations: 220.6 kB / 1.07 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2946, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007372/0.2953, allocations: 253.2 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2954, allocations: 7.984 kB / 1.07 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2954, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2954, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.2957, allocations: 51.95 kB / 1.07 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2957, allocations: 3.938 kB / 1.07 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.2959, allocations: 27.95 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2959, allocations: 4 kB / 1.07 GB, free: 8.512 MB / 0.8419 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.0001202/0.296, allocations: 128 kB / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.2961, allocations: 15.81 kB / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.2961, allocations: 29.39 kB / 1.071 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2961, allocations: 288 / 1.071 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2961, allocations: 3.938 kB / 1.071 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2961, allocations: 0 / 1.071 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.2964, allocations: 257.4 kB / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.2964, allocations: 0 / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.2967, allocations: 47.89 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2967, allocations: 4 kB / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2967, allocations: 0 / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.2967, allocations: 8 kB / 1.071 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2967, allocations: 3.938 kB / 1.071 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.2975, allocations: 359.1 kB / 1.071 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.2976, allocations: 88.92 kB / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.2976, allocations: 4 kB / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.2979, allocations: 27.95 kB / 1.071 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.2979, allocations: 19.91 kB / 1.071 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.2979, allocations: 4 kB / 1.071 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001082/0.2981, allocations: 140.3 kB / 1.071 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.2981, allocations: 0 / 1.071 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002425/0.2983, allocations: 28 kB / 1.071 GB, free: 7.277 MB / 0.8419 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.000136/0.2985, allocations: 107.1 kB / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007814/0.2992, allocations: 235.7 kB / 1.072 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2993, allocations: 0 / 1.072 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.2997, allocations: 123.8 kB / 1.072 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.3, allocations: 20.39 kB / 1.072 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.3006, allocations: 377.2 kB / 1.072 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.301, allocations: 0.7275 MB / 1.073 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.301, allocations: 15.38 kB / 1.073 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.301, allocations: 0 / 1.073 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of Templates: time 0.003727/0.3048, allocations: 2.03 MB / 1.075 GB, free: 3.605 MB / 0.8419 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/jenkins1/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