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 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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001062/0.001062, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00107/0.00107, allocations: 187.5 kB / 16.25 MB, free: 6.582 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 68.81 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2963, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002175/0.2984, allocations: 0.9401 MB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2996, allocations: 0.8858 MB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.2997, allocations: 7.938 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.2998, allocations: 3.938 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2999, allocations: 23.8 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.3001, allocations: 35.97 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.3002, allocations: 139.6 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.3004, allocations: 53.33 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.3005, allocations: 59.77 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3006, allocations: 87.66 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.3007, allocations: 16 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.049e-05/0.3007, allocations: 12 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.3008, allocations: 43.84 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.3008, allocations: 63.59 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.301, allocations: 175.6 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.301, allocations: 0 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.301, allocations: 0 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.301, allocations: 0 / 1.055 GB, free: 6.066 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008017/0.3018, allocations: 0.4987 MB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3019, allocations: 12.62 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.3019, allocations: 38.75 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.3019, allocations: 16.75 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.3021, allocations: 220.4 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3022, allocations: 16.31 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3022, allocations: 8.375 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.3027, allocations: 175.1 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3027, allocations: 7.875 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.3027, allocations: 8 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3027, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006872/0.3034, allocations: 219.8 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.3043, allocations: 0.5119 MB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.3048, allocations: 146.6 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.3051, allocations: 128.7 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3051, allocations: 0 / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.3052, allocations: 30.56 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.3052, allocations: 0 / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.00107/0.3062, allocations: 369.1 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.3063, allocations: 55.34 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3064, allocations: 174.4 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3065, allocations: 33.7 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.3065, allocations: 123.9 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.3066, allocations: 27.55 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.3066, allocations: 21.72 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.3067, allocations: 322.8 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.307, allocations: 103.9 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.3073, allocations: 103.9 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.308, allocations: 216.6 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.308, allocations: 0 / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006895/0.3087, allocations: 261.3 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3087, allocations: 8 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3087, allocations: 4.656 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.3087, allocations: 0 / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.309, allocations: 43.94 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.309, allocations: 3.938 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.3092, allocations: 39.86 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3092, allocations: 0 / 1.059 GB, free: 1.941 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: 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 9.37e-05/0.3093, allocations: 137.8 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.3093, allocations: 15.75 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.3094, allocations: 21.39 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3094, allocations: 7.938 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3094, allocations: 3.938 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3094, allocations: 3.938 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.3096, allocations: 249.5 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3096, allocations: 0 / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.3098, allocations: 47.94 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3098, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3099, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3099, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3099, allocations: 7.938 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007111/0.3106, allocations: 359.1 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.3106, allocations: 85.02 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.3107, allocations: 3.984 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.3109, allocations: 35.95 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.3109, allocations: 19.92 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.3109, allocations: 0 / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.645e-05/0.311, allocations: 140.1 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.311, allocations: 0 / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002301/0.3113, allocations: 35.84 kB / 1.06 GB, free: 0.6953 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: 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.0009672/0.3122, allocations: 0.8878 MB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006886/0.3129, allocations: 231.8 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.313, allocations: 0 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.3133, allocations: 127.8 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.3136, allocations: 27.83 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.3165, allocations: 2.166 MB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.3167, allocations: 0.7352 MB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.252e-05/0.3168, allocations: 16.42 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.3169, allocations: 39.42 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3169, allocations: 0 / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.503/1.82, allocations: 3.25 MB / 1.067 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/1.82, allocations: 213.6 kB / 1.067 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/3.939, allocations: 3.938 kB / 1.067 GB, free: 8.961 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > 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/jenkins1/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