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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008644/0.0008646, 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.006464/0.006464, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.411/2.411, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 11.62 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2836, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.0009235/0.2845, allocations: 0.5974 MB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.2855, allocations: 0.8858 MB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.2856, allocations: 3.938 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.468e-05/0.2857, allocations: 11.92 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2858, allocations: 23.8 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000101/0.2859, allocations: 31.95 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.2861, allocations: 131.6 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.2862, allocations: 53.33 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.2863, allocations: 43.78 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.2864, allocations: 71.72 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.2865, allocations: 11.94 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.529e-05/0.2865, allocations: 4 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.2865, allocations: 39.83 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.2866, allocations: 81.31 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.2868, allocations: 155.6 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2868, allocations: 0 / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2868, allocations: 0 / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2868, allocations: 4 kB / 1.061 GB, free: 2.699 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.0007957/0.2876, allocations: 0.5027 MB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2876, allocations: 11.97 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.2877, allocations: 46.75 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.2877, allocations: 20.75 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.2879, allocations: 219.9 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2879, allocations: 8.375 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.288, allocations: 12.31 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.2885, allocations: 207.6 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2885, allocations: 3.938 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2885, allocations: 4 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.2885, allocations: 8 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007753/0.2893, allocations: 271.8 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009197/0.2903, allocations: 0.5315 MB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.2907, allocations: 186.4 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/0.2911, allocations: 148.9 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2912, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.2912, allocations: 38.55 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.2912, allocations: 0 / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001267/0.2925, allocations: 445.2 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.2925, allocations: 59.34 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2927, allocations: 172.5 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.2927, allocations: 29.7 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.2928, allocations: 120 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.2928, allocations: 35.45 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.2928, allocations: 17.72 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.2929, allocations: 326.8 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.2933, allocations: 131.9 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.2937, allocations: 127.9 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007477/0.2945, allocations: 276.6 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2945, allocations: 0.5625 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008037/0.2953, allocations: 313.2 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2953, allocations: 5.562 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2953, allocations: 3.984 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.2953, allocations: 4 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.2956, allocations: 55.95 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2956, allocations: 3.938 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2958, allocations: 47.95 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2959, allocations: 0 / 1.065 GB, free: 14.14 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 9.45e-05/0.296, allocations: 133.8 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.296, allocations: 15.81 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.2961, allocations: 29.39 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2961, allocations: 0 / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2961, allocations: 3.938 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2961, allocations: 0 / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.2963, allocations: 249.5 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2963, allocations: 3.938 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.2966, allocations: 59.89 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2966, allocations: 0 / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2966, allocations: 8 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2966, allocations: 0 / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2966, allocations: 3.938 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008525/0.2975, allocations: 411.2 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.2975, allocations: 88.92 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.2976, allocations: 0 / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.2978, allocations: 47.95 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.2979, allocations: 23.92 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.2979, allocations: 0 / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.649e-05/0.298, allocations: 139.2 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.298, allocations: 4 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002281/0.2982, allocations: 23.94 kB / 1.066 GB, free: 12.82 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.001125/0.2993, allocations: 0.9465 MB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008234/0.3002, allocations: 283.7 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3002, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.3006, allocations: 147.8 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.3009, allocations: 19.92 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.3042, allocations: 2.303 MB / 1.07 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3045, allocations: 0.7239 MB / 1.071 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.429e-05/0.3046, allocations: 24.34 kB / 1.071 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.3047, allocations: 43.42 kB / 1.071 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of SimCode: time 2.745e-06/0.3047, allocations: 0 / 1.071 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.458/1.763, allocations: 3.074 MB / 1.074 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.763, allocations: 217.2 kB / 1.074 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/3.523, allocations: 0 / 1.074 GB, free: 5.016 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