Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001505/0.001505, allocations: 112.5 kB / 15.73 MB, free: 76 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.002971/0.002971, allocations: 191.2 kB / 16.67 MB, free: 6.57 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.437/1.437, allocations: 222.9 MB / 240.3 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.77/2.77, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 59.91 kB / 1.019 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3727, allocations: 151.6 MB / 1.167 GB, free: 6.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.003438/0.3762, allocations: 0.8815 MB / 1.168 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.3779, allocations: 0.8741 MB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.3781, allocations: 4 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.3783, allocations: 19.8 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.3785, allocations: 31.67 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.3787, allocations: 43.94 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.379, allocations: 139.6 kB / 1.169 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.3793, allocations: 49.34 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.3795, allocations: 55.83 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.3797, allocations: 83.66 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/0.3798, allocations: 16 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.594e-05/0.3798, allocations: 16 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3799, allocations: 35.91 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3801, allocations: 71.58 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.3804, allocations: 179.1 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3804, allocations: 0 / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3804, allocations: 0 / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.3804, allocations: 0 / 1.169 GB, free: 4.41 MB / 0.92 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.001417/0.3819, allocations: 0.5064 MB / 1.17 GB, free: 3.852 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.3819, allocations: 12.03 kB / 1.17 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/0.382, allocations: 20.8 kB / 1.17 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3824, allocations: 216.1 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3824, allocations: 4.375 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.3825, allocations: 20.31 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007562/0.3832, allocations: 176.7 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3833, allocations: 192 / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.3833, allocations: 11.92 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3833, allocations: 0 / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3843, allocations: 219.8 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.3858, allocations: 0.5081 MB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.3865, allocations: 154.4 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.3869, allocations: 120.9 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.387, allocations: 0 / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.387, allocations: 42.55 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.387, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.00157/0.3886, allocations: 357.4 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3887, allocations: 59.41 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.3889, allocations: 183.3 kB / 1.172 GB, free: 1.641 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.389, allocations: 25.7 kB / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3891, allocations: 128 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.3892, allocations: 31.73 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-05/0.3893, allocations: 21.72 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3894, allocations: 330.8 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.3899, allocations: 99.89 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.3904, allocations: 103.9 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.3913, allocations: 220.6 kB / 1.173 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3914, allocations: 0.5625 kB / 1.173 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001066/0.3924, allocations: 269.2 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.3925, allocations: 9.562 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3925, allocations: 0 / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3925, allocations: 0 / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.3929, allocations: 39.95 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3929, allocations: 3.938 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.3932, allocations: 35.95 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.3932, allocations: 3.984 kB / 1.173 GB, free: 320 kB / 0.92 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.0001497/0.3934, allocations: 132 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.3934, allocations: 15.89 kB / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/0.3935, allocations: 21.41 kB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3935, allocations: 4 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.3936, allocations: 7.938 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3936, allocations: 0 / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.394, allocations: 261.5 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.394, allocations: 3.938 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.3943, allocations: 43.95 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3943, allocations: 0 / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3944, allocations: 0 / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3944, allocations: 0 / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3944, allocations: 3.938 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3955, allocations: 359.2 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.3955, allocations: 89.02 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.3956, allocations: 4 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.3959, allocations: 31.95 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.396, allocations: 15.92 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.396, allocations: 4 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001608/0.3962, allocations: 136.4 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3962, allocations: 4 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003646/0.3965, allocations: 27.95 kB / 1.174 GB, free: 15.07 MB / 0.9356 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.000206/0.3968, allocations: 103.2 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.3978, allocations: 227.8 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3978, allocations: 0 / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.3983, allocations: 115.8 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.3988, allocations: 27.98 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008638/0.3997, allocations: 299.2 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.4001, allocations: 0.7314 MB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.4003, allocations: 20.41 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.4003, allocations: 15.44 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.4003, allocations: 0 / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of Templates: time 0.007108/0.4075, allocations: 1.923 MB / 1.177 GB, free: 11.59 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches