Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 108 kB / 15.6 MB, free: 132 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.001201/0.0012, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.22 kB / 0.8992 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3064, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002072/0.3086, allocations: 0.8549 MB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3097, allocations: 0.8974 MB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.202e-05/0.3098, allocations: 4 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.31, allocations: 15.8 kB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.3101, allocations: 11.88 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.3103, allocations: 63.86 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.3105, allocations: 127.7 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.3106, allocations: 49.08 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.3107, allocations: 59.77 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.3109, allocations: 79.72 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.3109, allocations: 12 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.3109, allocations: 12 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.311, allocations: 35.83 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.509e-05/0.3111, allocations: 55.72 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.3113, allocations: 135.5 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3113, allocations: 0 / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3113, allocations: 0 / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3113, allocations: 4 kB / 1.055 GB, free: 5.859 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007922/0.3121, allocations: 447.2 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3121, allocations: 8.625 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.3122, allocations: 42.73 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.3122, allocations: 12.75 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.3124, allocations: 200.7 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3124, allocations: 12.12 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3125, allocations: 15.98 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.3129, allocations: 145.5 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.313, allocations: 4 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.313, allocations: 3.938 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.313, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/0.3135, allocations: 163.8 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.3142, allocations: 420.4 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000821/0.315, allocations: 178.5 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.3153, allocations: 88.86 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3153, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3153, allocations: 34.56 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 2.595e-06/0.3153, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.000944/0.3163, allocations: 281.2 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3163, allocations: 55.34 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3165, allocations: 148.5 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3165, allocations: 25.7 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.3166, allocations: 112 kB / 1.058 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.3166, allocations: 31.55 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.3167, allocations: 33.7 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3168, allocations: 322.8 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.3171, allocations: 71.92 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.3174, allocations: 75.92 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.3179, allocations: 161.2 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3179, allocations: 3.938 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006026/0.3185, allocations: 205.4 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3185, allocations: 9.547 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3185, allocations: 0 / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3185, allocations: 0 / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.3188, allocations: 39.89 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3188, allocations: 0 / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.319, allocations: 31.81 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.319, allocations: 8 kB / 1.058 GB, free: 2.301 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.777e-05/0.3191, allocations: 117.8 kB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.3192, allocations: 15.84 kB / 1.059 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.3192, allocations: 12.72 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3192, allocations: 4 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3192, allocations: 0 / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3192, allocations: 0 / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.3195, allocations: 237.5 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3195, allocations: 4 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.3197, allocations: 43.83 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3197, allocations: 0 / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3197, allocations: 0 / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3197, allocations: 0 / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3198, allocations: 0 / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/0.3204, allocations: 307.1 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.3205, allocations: 92.94 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.3205, allocations: 3.938 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.3207, allocations: 23.97 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/0.3208, allocations: 27.97 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3208, allocations: 8 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.37e-05/0.3209, allocations: 117.1 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3209, allocations: 0 / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002582/0.3212, allocations: 23.88 kB / 1.059 GB, free: 1.191 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001015/0.3222, allocations: 0.8488 MB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006187/0.3228, allocations: 179.8 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3228, allocations: 0 / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.3232, allocations: 103.8 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.3235, allocations: 9.375 kB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.3265, allocations: 1.827 MB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.3269, allocations: 0.7003 MB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000114/0.327, allocations: 32.36 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3271, allocations: 47.41 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3271, allocations: 0 / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.3494, allocations: 3.766 MB / 1.067 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.48, allocations: 10.23 kB / 1.067 GB, free: 9.641 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches